+ Reply to Thread
Results 1 to 3 of 3
  1. #1
    Junior Member
    Join Date
    Jul 2011
    Posts
    24

    ช่วย ดู สกิวให้หน่อยนะครับ = =ll (พอดีไม่ไ้ด้ทำแมพนานเกินเลยลืม)

    เกรินนำ เนื่องจากไม่ไ้ด้ทำสกิวนาน เลยทำให้ลืมTrigger บางอัน นึกยังไงก็นึกไม่ออก
    จุดมุ่งหมาย เมื่อกดแล้ว จะทำ Dmg ใส่ Enemy Unit ในระยะ 600 AOE รอบๆตัว
    ประโยชน์
    คำบอกคำสั่ง/ประเภทคำบอกคำสั่ง
    ตัวอย่างแบบเปิด
    ตัวอย่างแบบปิด
    แยกฝึก
    สรุปผล


    นี้ืคือTrigger ปัจจุบัน นะครับ
    Explosion Pheonix Fire Events
    Unit - A unit Starts the effect of an ability
    Conditions
    (Ability being cast) Equal to Explosion Pheonix Fire
    Actions
    Set Explosion_Pheonix_Cast = (Triggering unit)
    Unit - Create 1 Expotion for (Owner of Explosion_Pheonix_Cast) at (Position of Explosion_Pheonix_Cast) facing (Position of (Triggering unit))
    Set Explosion_Pheonix_Dummy[1] = (Last created unit)
    Unit - Add a 3.00 second Generic expiration timer to Explosion_Pheonix_Dummy[1]
    Wait 0.50 seconds
    Unit - Create 1 Expotion2 for (Owner of Explosion_Pheonix_Cast) at (Position of Explosion_Pheonix_Cast) facing (Position of (Triggering unit))
    Set Explosion_Pheonix_Dummy[2] = (Last created unit)
    Unit - Add a 3.00 second Generic expiration timer to Explosion_Pheonix_Dummy[2]
    Unit Group - Pick every unit in (Units in (Playable map area) matching (((Owner of (Matching unit)) is an enemy of (Owner of Explosion_Pheonix_Cast)) Equal to True)) and do (Actions)
    Loop - Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
    If - Conditions
    (Level of Explosion Pheonix Fire for Explosion_Pheonix_Cast) Equal to 1
    Then - Actions
    Unit - Cause Explosion_Pheonix_Cast to damage circular area after 0.00 seconds of radius 600.00 at (Position of Explosion_Pheonix_Cast), dealing (2000.00 + (2.00 x (Real((Intelligence of Explosion_Pheonix_Cast (Include bonuses)))))) damage of attack type Spells and damage type Normal
    Unit - Remove Explosion_Pheonix_Dummy[1] from the game
    Unit - Remove Explosion_Pheonix_Dummy[2] from the game
    Else - Actions
    Unit Group - Pick every unit in (Units in (Playable map area) matching (((Owner of (Matching unit)) is an enemy of (Owner of Explosion_Pheonix_Cast)) Equal to True)) and do (Actions)
    Loop - Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
    If - Conditions
    (Level of Explosion Pheonix Fire for Explosion_Pheonix_Cast) Equal to 2
    Then - Actions
    Unit - Cause Explosion_Pheonix_Cast to damage circular area after 0.00 seconds of radius 600.00 at (Position of Explosion_Pheonix_Cast), dealing (4000.00 + (4.00 x (Real((Intelligence of Explosion_Pheonix_Cast (Include bonuses)))))) damage of attack type Spells and damage type Normal
    Unit - Remove Explosion_Pheonix_Dummy[1] from the game
    Unit - Remove Explosion_Pheonix_Dummy[2] from the game
    Else - Actions
    Unit Group - Pick every unit in (Units in (Playable map area) matching (((Owner of (Matching unit)) is an enemy of (Owner of Explosion_Pheonix_Cast)) Equal to True)) and do (Actions)
    Loop - Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
    If - Conditions
    (Level of Explosion Pheonix Fire for Explosion_Pheonix_Cast) Equal to 3
    Then - Actions
    Unit - Cause Explosion_Pheonix_Cast to damage circular area after 0.00 seconds of radius 600.00 at (Position of Explosion_Pheonix_Cast), dealing (6000.00 + (6.00 x (Real((Intelligence of Explosion_Pheonix_Cast (Include bonuses)))))) damage of attack type Spells and damage type Normal
    Unit - Remove Explosion_Pheonix_Dummy[1] from the game
    Unit - Remove Explosion_Pheonix_Dummy[2] from the game
    Else - Actions
    Unit Group - Pick every unit in (Units in (Playable map area) matching (((Owner of (Matching unit)) is an enemy of (Owner of Explosion_Pheonix_Cast)) Equal to True)) and do (Actions)
    Loop - Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
    If - Conditions
    (Level of Explosion Pheonix Fire for Explosion_Pheonix_Cast) Equal to 4
    Then - Actions
    Unit - Cause Explosion_Pheonix_Cast to damage circular area after 0.00 seconds of radius 600.00 at (Position of Explosion_Pheonix_Cast), dealing (8000.00 + (8.00 x (Real((Intelligence of Explosion_Pheonix_Cast (Include bonuses)))))) damage of attack type Spells and damage type Normal
    Unit - Remove Explosion_Pheonix_Dummy[1] from the game
    Unit - Remove Explosion_Pheonix_Dummy[2] from the game
    Else - Actions
    Unit Group - Pick every unit in (Units in (Playable map area) matching (((Owner of (Matching unit)) is an enemy of (Owner of Explosion_Pheonix_Cast)) Equal to True)) and do (Actions)
    Loop - Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
    If - Conditions
    (Level of Explosion Pheonix Fire for Explosion_Pheonix_Cast) Equal to 5
    Then - Actions
    Unit - Cause Explosion_Pheonix_Cast to damage circular area after 0.00 seconds of radius 600.00 at (Position of Explosion_Pheonix_Cast), dealing (10000.00 + (10.00 x (Real((Intelligence of Explosion_Pheonix_Cast (Include bonuses)))))) damage of attack type Spells and damage type Normal
    Unit - Remove Explosion_Pheonix_Dummy[1] from the game
    Unit - Remove Explosion_Pheonix_Dummy[2] from the game
    Else - Actions

    คืออย่างว่า ทำเท่าไรมันก็โดนทีมอยู่ีดี เพราะไม่รู้ว่ามันขาดอะไร (เนื่องจากไม่ได้ทำนาน) ใครพอจะเพิ่มเติมไ้ด้บ้างครับ


    ขอบคุณครับ
    เอาเวลาของผมคืนมาได้ไหม พระเจ้า .......... เอาเวลาของผมคืนมา
    และผมก็นั่งอ่าน Time Dilation อยู่ในห้องคนเดียว..... "เราย้อนเวลาไม่ได้ แต่เราย้อนภาพความทรงจำเก่าๆได้" นี้เหละคือ "อดีต"
    และมันก็เป็นบทเรียน เพราะมีมัน ถึงมีเราในตอนนี้
    ปัจจุบันแต่ต่างกัน ทำไมไม่สร้างอนาคตด้วยตัวเราเอง แต่ว่า อดีตที่มันผ่านมา มันก็ผ่านไป
    โลกก็หมุนอย่างที่มันควรจะหมุน พระเจ้าถ้าผมจะขอเวลาที่ผ่านมาคืน...ท่านจะให้ผมได้หรือเปล่า...........

  2. #2
    Member
    Join Date
    Jul 2011
    Posts
    51
    ลองแบบนี้ดู
    การใช้ Damage In Area มันจะสร้างดาเมจไม่เลือกหน้า
    ดังนั้นแนะนำให้ใช้ Pick Unit in Group แล้ว Dealt damage to (pickedunit) แทน
    Unit - A unit Starts the effect of an ability
    Conditions
    (Ability being cast) Equal to Explosion Pheonix Fire
    Actions
    Set Explosion_Pheonix_Cast = (Triggering unit)
    Unit - Create 1 Expotion for (Owner of Explosion_Pheonix_Cast) at (Position of Explosion_Pheonix_Cast) facing (Position of (Triggering unit))
    Set Explosion_Pheonix_Dummy[1] = (Last created unit)
    Unit - Add a 3.00 second Generic expiration timer to Explosion_Pheonix_Dummy[1]
    Wait 0.50 seconds
    Unit - Create 1 Expotion2 for (Owner of Explosion_Pheonix_Cast) at (Position of Explosion_Pheonix_Cast) facing (Position of (Triggering unit))
    Set Explosion_Pheonix_Dummy[2] = (Last created unit)
    Unit - Add a 3.00 second Generic expiration timer to Explosion_Pheonix_Dummy[2]
    Unit Group - Pick every unit in (Units in (Playable map area) matching (((Owner of (Matching unit)) is an ally of (Owner of Explosion_Pheonix_Cast)) Equal to False)) and do (Actions)
    Loop - Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
    If - Conditions
    (Level of Explosion Pheonix Fire for Explosion_Pheonix_Cast) Equal to 1
    Then - Actions
    Unit - Cause Explosion_Pheonix_Cast to damage (picked unit), dealing (2000.00 + (2.00 x (Real((Intelligence of Explosion_Pheonix_Cast (Include bonuses)))))) damage of attack type Spells and damage type Normal
    Unit - Remove Explosion_Pheonix_Dummy[1] from the game
    Unit - Remove Explosion_Pheonix_Dummy[2] from the game
    Else - Actions
    Unit Group - Pick every unit in (Units in (Playable map area) matching (((Owner of (Matching unit)) is an enemy of (Owner of Explosion_Pheonix_Cast)) Equal to True)) and do (Actions)
    Loop - Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
    If - Conditions
    (Level of Explosion Pheonix Fire for Explosion_Pheonix_Cast) Equal to 2
    Then - Actions
    Unit - Cause Explosion_Pheonix_Cast to damage (picked unit), dealing (4000.00 + (4.00 x (Real((Intelligence of Explosion_Pheonix_Cast (Include bonuses)))))) damage of attack type Spells and damage type Normal
    Unit - Remove Explosion_Pheonix_Dummy[1] from the game
    Unit - Remove Explosion_Pheonix_Dummy[2] from the game
    Else - Actions
    Unit Group - Pick every unit in (Units in (Playable map area) matching (((Owner of (Matching unit)) is an enemy of (Owner of Explosion_Pheonix_Cast)) Equal to True)) and do (Actions)
    Loop - Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
    If - Conditions
    (Level of Explosion Pheonix Fire for Explosion_Pheonix_Cast) Equal to 3
    Then - Actions
    Unit - Cause Explosion_Pheonix_Cast to damage (picked unit), dealing (6000.00 + (6.00 x (Real((Intelligence of Explosion_Pheonix_Cast (Include bonuses)))))) damage of attack type Spells and damage type Normal
    Unit - Remove Explosion_Pheonix_Dummy[1] from the game
    Unit - Remove Explosion_Pheonix_Dummy[2] from the game
    Else - Actions
    Unit Group - Pick every unit in (Units in (Playable map area) matching (((Owner of (Matching unit)) is an enemy of (Owner of Explosion_Pheonix_Cast)) Equal to True)) and do (Actions)
    Loop - Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
    If - Conditions
    (Level of Explosion Pheonix Fire for Explosion_Pheonix_Cast) Equal to 4
    Then - Actions
    Unit - Cause Explosion_Pheonix_Cast to damage (picked unit)), dealing (8000.00 + (8.00 x (Real((Intelligence of Explosion_Pheonix_Cast (Include bonuses)))))) damage of attack type Spells and damage type Normal
    Unit - Remove Explosion_Pheonix_Dummy[1] from the game
    Unit - Remove Explosion_Pheonix_Dummy[2] from the game
    Else - Actions
    Unit Group - Pick every unit in (Units in (Playable map area) matching (((Owner of (Matching unit)) is an enemy of (Owner of Explosion_Pheonix_Cast)) Equal to True)) and do (Actions)
    Loop - Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
    If - Conditions
    (Level of Explosion Pheonix Fire for Explosion_Pheonix_Cast) Equal to 5
    Then - Actions
    Unit - Cause Explosion_Pheonix_Cast to damage (picked unit), dealing (10000.00 + (10.00 x (Real((Intelligence of Explosion_Pheonix_Cast (Include bonuses)))))) damage of attack type Spells and damage type Normal
    Unit - Remove Explosion_Pheonix_Dummy[1] from the game
    Unit - Remove Explosion_Pheonix_Dummy[2] from the game
    Else - Actions

  3. #3
    Member
    Join Date
    Oct 2012
    Posts
    35
    programer work on the game

Facebook Comments


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •