Topic hỏi đáp (tập 6) về cách làm map

Status
Không mở trả lời sau này.
Mình làm ví dụ skill Summon Water Elemental của Archmage nhé
Mã:
    Events
        Unit - A unit Finishes casting an ability
    Conditions
        (Ability being cast) Equal to (==) Summon Water Elemental
    Actions
        Set Caster = (Casting unit)
        Unit - Add Crow Form to Caster
        Animation - Change Caster flying height to 500.00 at 500.00
        Unit - Remove Crow Form from Caster
        Countdown Timer - Start Timer as a One-shot timer that will expire in 30.00 seconds
Mã:
Untitled Trigger 002
    Events
        Time - Timer expires
    Conditions
    Actions
        Unit - Add Crow Form to Caster
        Animation - Change Caster flying height to 0.00 at 500.00
        Unit - Remove Crow Form from Caster
Xong :D

Thanks nhìu mình làm được rùi nhưng khổ nổi lúc dùng skill lần thứ 2,3,... Thì nó lại ko chịu bay lên(chắc yếu sinh lý) khắc phục dùm mình lỗi đó!
 
có ai bik làm skill 1 của con ezalor trong dota hem :)
với skill nhảy của hổ nữa ai bik làm chỉ dùm nhe
Thank nhiều !!
 
Cho hỏi có ai bik làm dạng skill cho hero di chuyển nhanh ko phải tức thời tới 1 điểm có khoảng cách nhất định, trên đướng di chuyển thì gây damage cho đối phương. Nói nôm na là giống skill 1 của morpling(người nước) trong dota ấy. Bạn nào bik chỉ giúp nha, câu này mình hỏi quài chưa thấy ai trả lời. Thanks x 10
 
Cho hỏi có ai bik làm dạng skill cho hero di chuyển nhanh ko phải tức thời tới 1 điểm có khoảng cách nhất định, trên đướng di chuyển thì gây damage cho đối phương. Nói nôm na là giống skill 1 của morpling(người nước) trong dota ấy. Bạn nào bik chỉ giúp nha, câu này mình hỏi quài chưa thấy ai trả lời. Thanks x 10
Không giống như skill bạn nói nhưng cấu trúc như vậy, coi và hiểu nhé
Mã:
Blade Storm
    Events
        Unit - A unit Starts the effect of an ability
    Conditions
        (Ability being cast) Equal to Bladestorm 
    Actions
        Set BladeStormCaster = (Casting unit)
        Set Point = (Target point of ability being cast)
        Unit - Pause BladeStormCaster
        Unit - Turn collision for BladeStormCaster Off
        Trigger - Turn on BladeStorm Move Caster <gen>
Mã:
BladeStormMoveCaster ( để off sẵn )
    Events
        Time - Every 0.10 seconds of game time
    Conditions
    Actions
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            If - Conditions
                (Integer((Distance between (Position of BladeStormCaster) and Point))) Less than or equal to 80
            Then - Actions
                Unit - Unpause BladeStormCaster
                Unit - Turn collision for BladeStormCaster On
                Custom script:   call RemoveLocation(udg_Point)
                Trigger - Turn off (This trigger)
            Else - Actions
                Unit - Move BladeStormCaster instantly to ((Position of BladeStormCaster) offset by 40.00 towards (Angle from (Position of BladeStormCaster) to Point) degrees)
                Unit Group - Pick every unit in (Units within 180.00 of (Position of BladeStormCaster) matching ((((Matching unit) is A structure) Equal to False) and ((((Matching unit) is alive) Equal to True) and (((Matching unit) belongs to an enemy of (Owner of BladeStormCaster)) Equal to True)))) and do (Actions)
                    Loop - Actions
                        Unit - Cause BladeStormCaster to damage (Picked unit), dealing (100.00) damage
Làm biếng viết trigger nên copy trên web xuống, thông cảm :D
 
Hình như nếu làm skill như ^ thì sẽ gây dam lên 1 unit nhiều lần :-?
 
có cách nào để thay đổi chỉ số của item sau mỗi lần ghép là random trong khoảng cho trước không bạn :-?
 
Không giống như skill bạn nói nhưng cấu trúc như vậy, coi và hiểu nhé
Mã:
Blade Storm
    Events
        Unit - A unit Starts the effect of an ability
    Conditions
        (Ability being cast) Equal to Bladestorm 
    Actions
        Set BladeStormCaster = (Casting unit)
        Set Point = (Target point of ability being cast)
        Unit - Pause BladeStormCaster
        Unit - Turn collision for BladeStormCaster Off
        Trigger - Turn on BladeStorm Move Caster <gen>
Mã:
BladeStormMoveCaster ( để off sẵn )
    Events
        Time - Every 0.10 seconds of game time
    Conditions
    Actions
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            If - Conditions
                (Integer((Distance between (Position of BladeStormCaster) and Point))) Less than or equal to 80
            Then - Actions
                Unit - Unpause BladeStormCaster
                Unit - Turn collision for BladeStormCaster On
                Custom script:   call RemoveLocation(udg_Point)
                Trigger - Turn off (This trigger)
            Else - Actions
                Unit - Move BladeStormCaster instantly to ((Position of BladeStormCaster) offset by 40.00 towards (Angle from (Position of BladeStormCaster) to Point) degrees)
                Unit Group - Pick every unit in (Units within 180.00 of (Position of BladeStormCaster) matching ((((Matching unit) is A structure) Equal to False) and ((((Matching unit) is alive) Equal to True) and (((Matching unit) belongs to an enemy of (Owner of BladeStormCaster)) Equal to True)))) and do (Actions)
                    Loop - Actions
                        Unit - Cause BladeStormCaster to damage (Picked unit), dealing (100.00) damage
Làm biếng viết trigger nên copy trên web xuống, thông cảm :D

Thanks nhìu nhưng tại sao skill dó luôn hướng lên trên góc 1h zậy? sao ko giống skill 1 của con morpling trong dota zậy ? Giúp giùm nhe :)
 
Thanks nhìu nhưng tại sao skill dó luôn hướng lên trên góc 1h zậy? sao ko giống skill 1 của con morpling trong dota zậy ? Giúp giùm nhe :)

Huh? Sao lại vậy nhỉ? Để mình kiểm tra lại
 
Ai bik làm skill cho 1 hero nhảy đến 1 khu vực có khoảng cách nhất định và gây damage + stun xung quanh hero. Thanks rất nhìu !
 
Làm trigger vừa move vừa set độ cao của unit, khi đến mục tiêu thì cast Thunder Clap hoặc War Stomp. Mình chỉ biết vậy thôi, chưa bao giờ làm mấy skill thế này nên không thể viết trigger giúp bạn được :(
 
Chỉnh sửa cuối:
Down map carnival của monster của anh SweetVN về mà coi. Nhìu Skill hay lắm CAT's Carnival of Monster

---------- Post added at 19:51 ---------- Previous post was at 19:08 ----------

Có cái map carnival of monster của anh SweetVN có nhìu skilll hay lắm. Trong đó có cả skill bạn muốn làm đấy CAT's Carnival of Monster
 
cho mình hỏi trong custom item có cái nào khi nhặt đc thì sẽ thêm 1 điểm ability ko nhỉ:D
 
cho mình hỏi trong custom item có cái nào khi nhặt đc thì sẽ thêm 1 điểm ability ko nhỉ:D

kiểu này củng dc mà coi chừng mutl add :-s
Mã:
Melee Initialization
    Events
        Unit - A unit Acquires an item
    Conditions
        ((Triggering unit) is A Hero) Equal to True
    Actions
        Hero - Modify Agility of (Triggering unit): Add 1
 
Mã:
Blade Storm
    Events
        Unit - A unit Starts the effect of an ability
    Conditions
        (Ability being cast) Equal to Bladestorm 
    Actions
        Set BladeStormCaster = (Casting unit)
        Set Point = (Target point of ability being cast)
        Unit - Pause BladeStormCaster
        Unit - Turn collision for BladeStormCaster Off
        Trigger - Turn on BladeStorm Move Caster <gen>
Mã:
BladeStormMoveCaster ( để off sẵn )
    Events
        Time - Every 0.10 seconds of game time
    Conditions
    Actions
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            If - Conditions
                (Integer((Distance between (Position of BladeStormCaster) and Point))) Less than or equal to 80
            Then - Actions
                Unit - Unpause BladeStormCaster
                Unit - Turn collision for BladeStormCaster On
                Custom script:   call RemoveLocation(udg_Point)
                Trigger - Turn off (This trigger)
            Else - Actions
                Unit - Move BladeStormCaster instantly to ((Position of BladeStormCaster) offset by 40.00 towards (Angle from (Position of BladeStormCaster) to Point) degrees)
                Unit Group - Pick every unit in (Units within 180.00 of (Position of BladeStormCaster) matching ((((Matching unit) is A structure) Equal to False) and ((((Matching unit) is alive) Equal to True) and (((Matching unit) belongs to an enemy of (Owner of BladeStormCaster)) Equal to True)))) and do (Actions)
                    Loop - Actions
                        Unit - Cause BladeStormCaster to damage (Picked unit), dealing (100.00) damage
Bạn có thể cho mình bik làm cách nào để thêm mấy cái effects như trên đường di chuyển thì nổ lửa và làm tăng tốc độ skill
được ko Thanks nhìu.
 
cho mình hỏi trong custom item có cái nào khi nhặt đc thì sẽ thêm 1 điểm ability ko nhỉ:D

Bạn để item kiểu power-up.

Rồi :
Untitled Trigger 002
Events
Unit - A unit Acquires an item
Conditions
(Item being manipulated) Equal to (Item power up đó)
Actions
Hero - Modify unspent skill points of (Triggering unit): Add 1 points


Sao ko down dc vậy anh............................

http://dl.getdropbox.com/u/992656/jassnewgenpack5d.zip
 
Các bác cho mình hỏi: Mình muốn làm 1 skill tương tự như skill cuối "Chain frost" của hero Lich trong DotA nhưng gặp chút vấn đề nhức nhối. Tình hình là: Skill của mình dự định sẽ là cast mà không cần target (No target) và phóng các frost ra tùy theo số lượng unit địch đứng gần mình 300 AoE (Ví dụ có 5 unit địch đứng gần caster thì khi cast spell sẽ phóng ra 5 cục băng) và quan trọng là mỗi cục băng đều có Jump system riêng biệt (Tức là nhảy từ unit này sang unit khác để gây damage trên mỗi unit nó nhảy qua). Về điểm này chính là điểm giống như ulti của Lich nhưng cái khó là .... mình không hề biết tạo 1 jump system mà MUI giống như vậy. Ai giúp mình với!! :(
 
Status
Không mở trả lời sau này.
Back
Top