Topic Post Spell

  • Thread starter Thread starter ducthai
  • Ngày gửi Ngày gửi
Status
Không mở trả lời sau này.
??? SKill cho "Gà" hả..Có ngay :D
Sau đây là một skill phải gọi là cực kì đơn giản :Blade Storm(tạm dịch là cơn bão...dao:|)
Spell name : Blade Storm
MUI : No ngại làm lắm...Với lại nếu là newbie không lên dùng MUI làm gì dễ nản :(
GUI or Jass:GUI,tất nhiên,Newbie mà(E cũng chỉ mới học Jass thôi :( )
Biến sử dụng :
+Caster[Unit] : để gắn là Hero cast skill
+CasterPoint[Point]: Để gắn vị trí cast skil
Sau đây là Skill
Trigger 1
Mã:
Events
    Unit - A unit Starts the effect of an ability
Conditions
    (Ability being cast) Equal to Blade Storm 
Actions
    Set Caster = (Casting unit)
    Set CasterPoint = (Position of Caster)
    Set Int = 0
    Animation - Change Caster's animation speed to 225.00% of its original speed
    Trigger - Turn on BladeStormEffect <gen>
Trigger này cũng khá dễ hiểu thôi:
----Unit - A unit Starts the effect of an ability : Một unit nòa đó bắt đầu hiệu ứng của 1 skill thì Trigger sẽ khiểm tra xem đó có đúng là skill
Blade strom không.Nếu đúng thì thực hiên Action :
Set Caster = (Casting unit) : Đặt Biến Caster là hero cast skill(hoặc là unit)
Set CasterPoint = (Position of Caster) : Đặt biến CasterPoint là vị trí của Hero cast skill.Animation - Change Caster's animation speed to 225.00% of its original speed : chuyển tốc độ thực hiện hành đông lên 225%.Trigger - Turn on BladeStormEffect <gen> : Dừn nói không biết :-s

Trigger 2
Mã:
Events
    Time - Every 0.05 seconds of game time
Actions
    Set Int = (Int + 1)
    Unit - Order Caster to Stop
    Animation - Play Caster's attack animation
    Special Effect - Create a special effect attached to the origin of Caster using Abilities\Spells\Other\Doom\DoomDeath.mdl
    Special Effect - Destroy (Last created special effect)
    Unit - Create 1 Caster for (Owner of Caster) at CasterPoint facing Default building facing degrees
    Unit - Turn collision for (Last created unit) Off
    Unit - Add Blade  to (Last created unit)
    Unit - Set level of Blade  for (Last created unit) to (Level of Blade Storm  for Caster)
    Unit - Order (Last created unit) to Orc Tauren Chieftain - Shockwave (CasterPoint offset by 400.00 towards (Random real number between 1.00 and 360.00) degrees)
    Unit - Add a 1.00 second Generic expiration timer to (Last created unit)
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        If - Conditions
            Int Greater than or equal to 60
        Then - Actions
            Trigger - Turn off (This trigger)
            Animation - Change Caster's animation speed to 100.00% of its original speed
            Custom script:   call RemoveLocation(udg_CasterPoint)
        Else - Actions
Tiếp theo là trigger 2 :
Time - Every 0.05 seconds of game time:cứ mỗi 0.5 giây thì nó lại làm các action trong trigger này
Unit - Order Caster to Stop
Animation - Play Caster's attack animation
: lẹnh thứ nhất để cứ 0.5 giây thì Caster(Hero cast skill lại dừng lại) còn lệnh thứ 2 thì lại bắt Caster thực hiên hành động tấn đông(chỉ là hành động biểu diễn chứ không phải tấn công gây dame)...
Special Effect - Create a special effect attached to the origin of Caster using Abilities\Spells\Other\Doom\DoomDeath.mdl
Special Effect - Destroy (Last created special effect)
: Cái này để creat effect ở hero(nhìn cho hoành) sau đó del đi luôn để không tốn ổ nhớ :)
Unit - Create 1 Caster for (Owner of Caster) at CasterPoint facing Default building facing degrees
Unit - Turn collision for (Last created unit) Off
Unit - Add Blade to (Last created unit)
Unit - Set level of Blade for (Last created unit) to (Level of Blade Storm for Caster)

Tạo 1 Dummy,cho mất khả năng va chạm của unit nit đó đi.Tiếp tục cho unit đó skill Blade(Thực chất là skill ShockWave đã đổi Missle và Icon).Đặt cho level của Blade của Dummy = với level Blade Storm của Caster.
Unit - Order (Last created unit) to Orc Tauren Chieftain - Shockwave (CasterPoint offset by 400.00 towards (Random real number between 1.00 and 360.00) degrees)
Unit - Add a 1.00 second Generic expiration timer to (Last created unit)
: cho Dummy cast skill đó vào 1 điểm random xung quanh CasterPoint :) rồi cho nó 1 giây để sống trên trái đất này :|
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Int Greater than or equal to 60
Then - Actions
Trigger - Turn off (This trigger)
Animation - Change Caster's animation speed to 100.00% of its original speed
Custom script: call RemoveLocation(udg_CasterPoint)
Else - Actions

Lềnh if này dùng để kiểm tra khi biến Int > 60 thi tắt trigger này ,chuyển tốc đọ hành động về bt và remove cai Location CasterPoint để khỏi Leak.(Tôi chọn 60 vì bạn hãy nghĩ : trigger này cứ 0.05 giây thì hoạt động 1 lần-> lênh
Set Int = (Int + 1) lại đc lặp lại 1 lần trong 0.05 giây-> khi Int> 60 lần tức là lênh này đã được thực hiên 60 lần-> 6 x0.05 = 3 giây -> Trigger kéo dài 3 giây)
ScreenShot.jpg

Trigger tuy đơn giản nhưng nhìn cũng hoành tá tràng :)..Nếu có ai lấy nó vào map thì nhớ đề tên người sản xuất nó là e nhe :MrTanh..Thank:*


Link download map :http://www.mediafire.com/file/gnzwmutjkmj/Skill Map(Aura)-Blade Storm.w3x
 
@kickboy00: Sao cái trigger 2 không có code thế, lần sau nhớ code chứ khó nhìn quá @_@
Spell hay, có cái tên giống spell của con blademaster quá :D, cái nó cầm đâu phải là "balde" @_@
 
@World Editor :Ai pảo AM cầm không phải Blade? .=.=" hỏi thứ trong gamevn ai không bảo nó là blade /:)
--------------------------------------------------
dã fix lại code rồi :)>-
 
Á nhầm, tại cái nó cầm trên tay không có cán kiếm nên....:D
Hình như cast nhiều nó hơi...giật @@???
 
Dã bảo không phải MUI mà :P...Skill nay đ hướng dãn cho newbie làm những việc cơ bản nên MUI sợ họ khó hiểu.Không giât mới lạ :->
 
Cận "mấy trăm" độ vậy:-/? 3 cái biến to lù lù như thế mà còn kô nhìn đc:)). Yêu cầu đi khám mắt hoặc gia nhập vào hội người mù VN=)).
Mã:
Caster: Unit
Target: Unit
TargetPoint: Point
 
mấy anh ơi sao ko thấy post spell nào lên hết nữa vậy
nhất là anh (ducthai) đó:(:(:(
 
EM cần spell như thế nào thì nói đi,có thể mọi người bí ý tưởng đấy
Nhưng đừng có ý tưởng qá xa vời nha
 
Các pro ơi làm ơn nghĩ hộ em cái spell này được ko:
Cò ai đã chơi qua Chao Legend chưa nghĩ ho em cái spell giống con Thanatos dc ko
Tức là spell này nó summon ra 1 con giống con Thanatos và hủy diệt hết các enemy trong pham vi 2000 ( hơi rộng :D )
Các bác làm ơn nghĩ hộ gà này cái speel ,em nghĩ cả ngày mà ko ra:((
 
Vừa làm xong cái Phantom Assissan SpellPack.
Có đầy đủ 4 chiêu của PA:
Sifling Dagger
Blink Strike
Blur
Coup de Graçe
Cái này ai thích dùng thì dùng thôi, tớ chưa hướng dẫn đâu:)).

Phantom Assissan SpellPack


P/s: Do sever GVN bị "điên" nên tớ up lên mediafire.
 
Assissan nghe hay hơn=)). Thôi, quan tâm làm gì, có map là 9. Còn giải thích thì làm biếng lắm. Thôi, cứ coi như là copy spell đi=)).
 
EM cần spell như thế nào thì nói đi,có thể mọi người bí ý tưởng đấy
Nhưng đừng có ý tưởng qá xa vời nha

em cần 1 spell khi chơi warstrom ra thì lập tức tê giác chạy ra và tông chết lính vừa lúc đó mưa sao băng từ trên trời rơi xuống ........ mấy anh giúp em nha
CHÂN THÀNH CÁM ƠN
 
Status
Không mở trả lời sau này.
Back
Top