[DP+RC+EX+CC] Hero of the Empire 1.25

This is where fulfilled requests go. You can make a new thread here if you edit a map and want to share it, such as if you cheat a new map without anybody actually requesting it.

Moderator: Cheaters

Kain159
Junior Member
Posts: 31
Joined: March 29th, 2012, 4:57 pm

[DP+RC+EX+CC] Hero of the Empire 1.25

Post by Kain159 »

Map Name: Hero of the Empire 1.25

Map Link: attached with this post

Requests:

1- Deprotection

2- RC for items and abilities (both cleaned & uncleaned)

3- Extract triggers file (this is the most important), i want to know all triggers for the ability (Merge) for the hero (Blacksmith(Silver)), also i wish to know all triggers for this hero and all his other abilities.

4- CC: 2 custom commands (no activator this should work once the map loaded):
-showbat : which will show the attack cooldown of the selected unit.
it should show whats called BAT(base attack cooldown which is not affected by attack speed, so this is before attack speed from agility/items/abilities/etc comes, and not the current attack cooldown which is affected by attack speed).

-showas : which will show the attack cooldown after its affected by attack speed(current attack cooldown).

here is more details about warcraft 3 to help you understand what i want more; in the world editor in object editor a unit has a row called
Combat - Attack 1 - Cooldown Time(this is the base attack time) i want to know this value before any attack speed factors come into place.

request was edited to include the 4th request and edited once again for more details.

I know getting a full triggers file is nasty but i want very specific things about it maybe this makes it more possible, still its a hard request
but very important please do this request.

thanks in advance
You do not have the required permissions to view the files attached to this post.
User avatar
nuzamacuxe
Also Not an Admin, but closer than devoltz
Posts: 1655
Joined: February 14th, 2018, 5:35 am
Title: Just Another S.Mod
Been thanked: 6 times

Re: [DP+RC+EX+CC] Hero of the Empire 1.25

Post by nuzamacuxe »

Custom commands:
-showbat - Shows your base attack cooldown;

-showas # # - Shows your current attack speed based on your agility (included bonuses), item and ability bonuses. You will need to specify the item and abiliti bonuses though. The first # is for item and the second # is for abilities.

Referece about how to use:
Example: 100% = 1.0 ; 15% = 0.15 and so on...
So if you want to know your current attack speed with an item which gives you 15% attack speed and with an ability which gives you 40% you must use like so: -showas 0.15 (item bonus) 0.40 (ability bonus)

About the triggers, you will have to look for yourself since it's too much. These are the values which you have to look for in war3map.j:
A0XQ = Merge Skill;
H05L = BlackSmith Hero;
A0XT,A0XS,A0XR,A0XO are its other abilities.
You do not have the required permissions to view the files attached to this post.
mustdiecorp
Newcomer
Posts: 2
Joined: February 26th, 2020, 1:50 am

Re: [DP+RC+EX+CC] Hero of the Empire 1.25

Post by mustdiecorp »

I want to know how to use cheats
-[JJCPckng]
-[JJCP ckng]
-[JJCP + ckng]
"Helm of Kings "
;;;
What is the identity of this map?
Vincent0001
Junior Member
Posts: 40
Joined: February 11th, 2020, 8:24 am

Re: [DP+RC+EX+CC] Hero of the Empire 1.25

Post by Vincent0001 »

Kain159
Junior Member
Posts: 31
Joined: March 29th, 2012, 4:57 pm

Re: [DP+RC+EX+CC] Hero of the Empire 1.25

Post by Kain159 »

thanks so much, its okay i didn't get all the triggers, having the code for the merge skill now helps a lot, i looked into it before but couldnt see more than 40 recipes, there is way more than 100 i think.

for the CC this needs a testing, if you test your own triggers in an empty map on a hero with some base agi, and use the -BAT to see if it displays the BAT or after the agi bonus.
Kain159
Junior Member
Posts: 31
Joined: March 29th, 2012, 4:57 pm

Re: [DP+RC+EX+CC] Hero of the Empire 1.25

Post by Kain159 »

just used the BS ability in the war3map.j, still not having much clue what the triggers there mean, it looks like i need a lesson in JASS obfuscated triggers, can you help me? tell me where to learn this stuff? is there like a tutorial on this forum for this matter?
Kain159
Junior Member
Posts: 31
Joined: March 29th, 2012, 4:57 pm

Re: [DP+RC+EX+CC] Hero of the Empire 1.25

Post by Kain159 »

also i might need RC for units both cleaned/uncleaned
User avatar
nuzamacuxe
Also Not an Admin, but closer than devoltz
Posts: 1655
Joined: February 14th, 2018, 5:35 am
Title: Just Another S.Mod
Been thanked: 6 times

Re: [DP+RC+EX+CC] Hero of the Empire 1.25

Post by nuzamacuxe »

-showbat returns the base attack cooldown (aka Agility = 0). It doesn't matter if you have more agility.

If you want to know the actual attack cooldown use -showas.

The code isn't obfuscated at all. You should learn about JASS.

Take this one as example:
1) This function is based on a unit using a spell (EVENT_PLAYER_UNIT_SPELL_EFFECT) :

Code: Select all

function InitTrig_Weapon_SRG takes nothing returns nothing
set gg_trg_Weapon_SRG=CreateTrigger()
call TriggerRegisterAnyUnitEventBJ(gg_trg_Weapon_SRG,EVENT_PLAYER_UNIT_SPELL_EFFECT)
call TriggerAddCondition(gg_trg_Weapon_SRG,Condition(function Trig_Weapon_SRG_Conditions))
call TriggerAddAction(gg_trg_Weapon_SRG,function Trig_Weapon_SRG_Actions)
endfunction
2) What spell? A0XQ = Merge Skill

Code: Select all

function Trig_Weapon_SRG_Conditions takes nothing returns boolean
if(not(GetSpellAbilityId()=='A0XQ'))then
return false
endif
return true
endfunction
3) For example:
  • If you have the items I018 ("Corrupted Sword") and I051 ("Sapphire Parts") in your item slot

    Code: Select all

    function Trig_Weapon_SRG_Func001C takes nothing returns boolean
    if(not(UnitHasItemOfTypeBJ(GetTriggerUnit(),'I018')==true))then
    return false
    endif
    if(not(UnitHasItemOfTypeBJ(GetTriggerUnit(),'I05I')==true))then
    return false
    endif
    return true
    endfunction
    • You'll be able to forge the I0AF ("Unholy Sword") item.

      Code: Select all

      if(Trig_Weapon_SRG_Func001C())then
      call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'I018'))
      call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'I05I'))
      call AddSpecialEffectTargetUnitBJ("origin",GetTriggerUnit(),"Abilities\\Spells\\Items\\AIim\\AIimTarget.mdl")
      call DestroyEffectBJ(GetLastCreatedEffectBJ())
      call UnitAddItemByIdSwapped('I0AF',GetTriggerUnit())
      else
      endif
You do not have the required permissions to view the files attached to this post.
Kain159
Junior Member
Posts: 31
Joined: March 29th, 2012, 4:57 pm

Re: [DP+RC+EX+CC] Hero of the Empire 1.25

Post by Kain159 »

oh, this was so much help, thanks.
Kain159
Junior Member
Posts: 31
Joined: March 29th, 2012, 4:57 pm

Re: [DP+RC+EX+CC] Hero of the Empire 1.25

Post by Kain159 »

the version i provided you with is 1.24c cause i'am an idiot, soz

the right version is attached with this comment, really sorry i don't know what to say about my idiocy,
please redo full request (RC(Units/Items/Abilities, cleaned + noncleaned), CC, EX and DP)
extract war3map.j from this please, this version might have more secret items.
You do not have the required permissions to view the files attached to this post.