Ability

Ice_water

Dragon Quest
Tham gia ngày
11/1/07
Bài viết
1,457
Reaction score
182
Mình cần giúp làm skill track trong dota :whew: Mình đã thử làm rồi nhưng có vẫn đề là con dummy ko buff +speed cho mình. Đây là trigger .
Mã:
Hunt
    Events
        Unit - A unit Begins casting an ability
    Conditions
        (Ability being cast) Equal to Hunt 
    Actions
        Set HuntCaster = (Triggering unit)
        Trigger - Turn on HuntCaster <gen>
        Wait (20.00 + ((Real((Level of Hunt  for (Casting unit)))) x 5.00)) seconds
        Trigger - Turn off HuntCaster <gen>
Mã:
HuntCaster
    Events
        Time - Every 2.50 seconds of game time
    Conditions
    Actions
        Unit - Create 1 Hunt Dummy for (Owner of HuntCaster) at (Position of HuntCaster) facing Default building facing degrees
        Unit - Add BloodlustHunt  to (Last created unit)
        Unit - Set level of BloodlustHunt  for (Last created unit) to (Level of Hunt  for HuntCaster)
        Unit - Order (Last created unit) to Orc Shaman - Bloodlust HuntCaster
        Unit - Add a 2.00 second Generic expiration timer to (Last created unit)
 
Srry nha , mình quên mất mất TeechTree
 
Back
Top