wc3edit.net
https://forum.wc3edit.net/

[DP+RC+EX+CC] Hero of the Empire 1.25
http://forum.wc3edit.net/fulfilled-requests-f75/hero-of-the-empire-1-25-t37124.html
Page 1 of 1

Author:  Kain159 [ February 19th, 2020, 1:01 pm ]
Post subject:  [DP+RC+EX+CC] Hero of the Empire 1.25

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

Author:  nuzamacuxe [ February 23rd, 2020, 11:40 pm ]
Post subject:  Re: [DP+RC+EX+CC] Hero of the Empire 1.25

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.

Author:  mustdiecorp [ February 26th, 2020, 3:11 am ]
Post subject:  Re: [DP+RC+EX+CC] Hero of the Empire 1.25

I want to know how to use cheats
-[JJCPckng]
-[JJCP ckng]
-[JJCP + ckng]
"Helm of Kings "
;;;
What is the identity of this map?

Author:  Vincent0001 [ February 26th, 2020, 12:57 pm ]
Post subject:  Re: [DP+RC+EX+CC] Hero of the Empire 1.25

http://forum.wc3edit.net/announces/are- ... 35804.html

Author:  Kain159 [ February 26th, 2020, 3:58 pm ]
Post subject:  Re: [DP+RC+EX+CC] Hero of the Empire 1.25

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.

Author:  Kain159 [ February 26th, 2020, 4:04 pm ]
Post subject:  Re: [DP+RC+EX+CC] Hero of the Empire 1.25

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?

Author:  Kain159 [ February 26th, 2020, 4:09 pm ]
Post subject:  Re: [DP+RC+EX+CC] Hero of the Empire 1.25

also i might need RC for units both cleaned/uncleaned

Author:  nuzamacuxe [ February 26th, 2020, 6:23 pm ]
Post subject:  Re: [DP+RC+EX+CC] Hero of the Empire 1.25

-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:
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:
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:
    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:
      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

Author:  Kain159 [ February 26th, 2020, 6:40 pm ]
Post subject:  Re: [DP+RC+EX+CC] Hero of the Empire 1.25

oh, this was so much help, thanks.

Author:  Kain159 [ February 26th, 2020, 10:08 pm ]
Post subject:  Re: [DP+RC+EX+CC] Hero of the Empire 1.25

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.

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/