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.
Leak kìa BV_Group1 với point ở phần move picked unit, sửa đi nhé.

Tiện thể post lun spell này tại làm nhanh nên chả remove leak:D
 

Attachments

Ồ vậy hả cám ơn anh nhiều,em sửa đây!
.
___________Auto Merge________________

.
Anh có thể làm ulti thàng bò cho em học tạp được ko,làm dựa vào Fissure khó quá
 
Ồ vậy hả cám ơn anh nhiều,em sửa đây!
.
___________Auto Merge________________

.
Anh có thể làm ulti thàng bò cho em học tạp được ko,làm dựa vào Fissure khó quá

thằng bò là thằng nào ??
 
giải thích làm gì cho mệt :|
cứ post rồi người khác xem cũng hiểu

Àh ừhm..Thế thử 1 skill này nhé..Cái này là của thằng Beast trong [Project]The War của e(Ở phía dưới,hơi quảng cáo tý..A e thông cảm)...Vì cái này là MUI nên nó hơi...dễ hiêu một tý.Mong là không càn giải thích newbai vẫn hiểu.Skill tạo ra 1 Axe bay về phía trước,,Tốc độ của axe tang dần khi bay về muc tiêu rồi giảm dần khi bay về(Gần gần giống DotA nhưng chỉ có 1 cái rìu thôi :)) )
Trong đó có 2 trigger và sử dụng các biến :
+ MuiRA : Integer
+ QuaylaiRA : Boolean
+ CasterRA : Unit
+ CasterPointRA : Point
+ TargetPointRA : Point
+ AngelRA : Real
+ GraphUnitRA : Unit
+ MoveGroupRA : Unit Group
+ DamagedGroupRA : Unit Group
+ SpeedRA : Integer
+ PointGraphUnitRA : Point
+ MovePointRA : Point
+ DamagingGroup : Unit Group
+ RandomUnitRA : Unit
Trong đó có các biến MuiRA,MoveGroup,RandomUnitRA là không thuộc kiểu Mảng (Array) còn lại đều là biến Array...
Trigger 1 : Rogue Axe
Mã:
Events
    Unit - A unit Starts the effect of an ability
Conditions
    (Ability being cast) Equal to Rogue Axe 
Actions
    Set MuiRA = (MuiRA + 1)
    Set QuayLaiRA[MuiRA] = False
    Set CasterRA[MuiRA] = (Casting unit)
    Set CasterPointRA[MuiRA] = (Position of CasterRA[MuiRA])
    Set TargetPointRA[MuiRA] = (Target point of ability being cast)
    Set AngelRA[MuiRA] = (Angle from CasterPointRA[MuiRA] to TargetPointRA[MuiRA])
    Unit - Create 1 GraphUnit_RA for (Owner of CasterRA[MuiRA]) at CasterPointRA[MuiRA] facing AngelRA[MuiRA] degrees
    Set GraphUnitRA[MuiRA] = (Last created unit)
    Unit - Set the custom value of GraphUnitRA[MuiRA] to MuiRA
    Custom script:   set udg_DamagedGroupRA[udg_MuiRA]=CreateGroup()
    Unit Group - Add GraphUnitRA[MuiRA] to MoveGroupRA
    Trigger - Turn on Rogue Axe Effect <gen>
    Custom script:   call RemoveLocation(udg_CasterPointRA[udg_MuiRA])

Trigger 2 : Rogue Axe Effect
Mã:
Events
    Time - Every 0.04 seconds of game time
Conditions
Actions
    Unit Group - Pick every unit in MoveGroupRA and do (Actions)
        Loop - Actions
            If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                If - Conditions
                    QuayLaiRA[(Custom value of (Picked unit))] Equal to False
                Then - Actions
                    Set SpeedRA[(Custom value of (Picked unit))] = (SpeedRA[(Custom value of (Picked unit))] + 3)
                    Set PointGraphUnitRA[(Custom value of (Picked unit))] = (Position of GraphUnitRA[(Custom value of (Picked unit))])
                    Set MovePointRA[(Custom value of (Picked unit))] = (PointGraphUnitRA[(Custom value of (Picked unit))] offset by (Real(SpeedRA[(Custom value of (Picked unit))])) towards AngelRA[(Custom value of (Picked unit))] degrees)
                    Unit - Move GraphUnitRA[(Custom value of (Picked unit))] instantly to MovePointRA[(Custom value of (Picked unit))]
                    Unit - Make GraphUnitRA[(Custom value of (Picked unit))] face TargetPointRA[(Custom value of (Picked unit))] over 0.00 seconds
                    Set DamagingGroupRA[(Custom value of (Picked unit))] = (Units within 200.00 of MovePointRA[(Custom value of (Picked unit))] matching ((((Matching unit) is in DamagedGroupRA[(Custom value of (Picked unit))]) Equal to False) and ((((Matching unit) belongs to an enemy of (Owner of CasterRA[(Custom value of (Picked u
                    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                        If - Conditions
                            (Number of units in DamagingGroupRA[(Custom value of (Picked unit))]) Not equal to 0
                        Then - Actions
                            Set RandomUnitRA = (Random unit from DamagingGroupRA[(Custom value of (Picked unit))])
                            Unit - Cause GraphUnitRA[(Custom value of (Picked unit))] to damage RandomUnitRA, dealing (125.00 x (Real((Level of Rogue Axe  for CasterRA[(Custom value of (Picked unit))])))) damage of attack type Spells and damage type Normal
                            Special Effect - Create a special effect attached to the chest of RandomUnitRA using Objects\Spawnmodels\Human\HumanBlood\BloodElfSpellThiefBlood.mdl
                            Special Effect - Destroy (Last created special effect)
                            Unit Group - Add RandomUnitRA to DamagedGroupRA[(Custom value of (Picked unit))]
                            Set RandomUnitRA = No unit
                        Else - Actions
                    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                        If - Conditions
                            (Distance between MovePointRA[(Custom value of (Picked unit))] and TargetPointRA[(Custom value of (Picked unit))]) Less than or equal to 50.00
                        Then - Actions
                            Set QuayLaiRA[(Custom value of (Picked unit))] = True
                            Custom script:   call DestroyGroup(udg_DamagedGroupRA[GetUnitUserData(GetEnumUnit())])
                            Custom script:   set udg_DamagedGroupRA[GetUnitUserData(GetEnumUnit())]=CreateGroup()
                            Custom script:   call DestroyGroup(udg_DamagingGroupRA[GetUnitUserData(GetEnumUnit())])
                        Else - Actions
                    Custom script:   call RemoveLocation(udg_PointGraphUnitRA[GetUnitUserData(GetEnumUnit())])
                    Custom script:   call RemoveLocation(udg_MovePointRA[GetUnitUserData(GetEnumUnit())])
                Else - Actions
            If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                If - Conditions
                    QuayLaiRA[(Custom value of (Picked unit))] Equal to True
                Then - Actions
                    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                        If - Conditions
                            SpeedRA[(Custom value of (Picked unit))] Greater than 30
                        Then - Actions
                            Set SpeedRA[(Custom value of (Picked unit))] = (SpeedRA[(Custom value of (Picked unit))] - 3)
                        Else - Actions
                    Set PointGraphUnitRA[(Custom value of (Picked unit))] = (Position of GraphUnitRA[(Custom value of (Picked unit))])
                    Set CasterPointRA[(Custom value of (Picked unit))] = (Position of CasterRA[(Custom value of (Picked unit))])
                    Set MovePointRA[(Custom value of (Picked unit))] = (PointGraphUnitRA[(Custom value of (Picked unit))] offset by (Real(SpeedRA[(Custom value of (Picked unit))])) towards AngelRA[(Custom value of (Picked unit))] degrees)
                    Set AngelRA[(Custom value of (Picked unit))] = (Angle from MovePointRA[(Custom value of (Picked unit))] to CasterPointRA[(Custom value of (Picked unit))])
                    Unit - Move GraphUnitRA[(Custom value of (Picked unit))] instantly to MovePointRA[(Custom value of (Picked unit))]
                    Unit - Make GraphUnitRA[(Custom value of (Picked unit))] face CasterPointRA[(Custom value of (Picked unit))] over 0.00 seconds
                    Set DamagingGroupRA[(Custom value of (Picked unit))] = (Units within 200.00 of MovePointRA[(Custom value of (Picked unit))] matching ((((Matching unit) is in DamagedGroupRA[(Custom value of (Picked unit))]) Equal to False) and ((((Matching unit) belongs to an enemy of (Owner of CasterRA[(Custom value of (Picked u
                    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                        If - Conditions
                            (Number of units in DamagingGroupRA[(Custom value of (Picked unit))]) Not equal to 0
                        Then - Actions
                            Set RandomUnitRA = (Random unit from DamagingGroupRA[(Custom value of (Picked unit))])
                            Unit - Cause GraphUnitRA[(Custom value of (Picked unit))] to damage RandomUnitRA, dealing (125.00 x (Real((Level of Rogue Axe  for CasterRA[(Custom value of (Picked unit))])))) damage of attack type Spells and damage type Normal
                            Special Effect - Create a special effect attached to the chest of RandomUnitRA using Objects\Spawnmodels\Human\HumanBlood\BloodElfSpellThiefBlood.mdl
                            Special Effect - Destroy (Last created special effect)
                            Unit Group - Add RandomUnitRA to DamagedGroupRA[(Custom value of (Picked unit))]
                            Set RandomUnitRA = No unit
                        Else - Actions
                    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                        If - Conditions
                            (Distance between MovePointRA[(Custom value of (Picked unit))] and CasterPointRA[(Custom value of (Picked unit))]) Less than or equal to 50.00
                        Then - Actions
                            Unit Group - Remove GraphUnitRA[(Custom value of (Picked unit))] from MoveGroupRA
                            Unit - Kill GraphUnitRA[(Custom value of (Picked unit))]
                            Set CasterRA[(Custom value of (Picked unit))] = No unit
                            Set GraphUnitRA[(Custom value of (Picked unit))] = No unit
                            Set QuayLaiRA[(Custom value of (Picked unit))] = False
                            Custom script:   call RemoveLocation(udg_TargetPointRA[GetUnitUserData(GetEnumUnit())])
                            Custom script:   call RemoveLocation(udg_CasterPointRA[GetUnitUserData(GetEnumUnit())])
                            Custom script:   call DestroyGroup(udg_DamagedGroupRA[GetUnitUserData(GetEnumUnit())])
                            Custom script:   call DestroyGroup(udg_DamagingGroupRA[GetUnitUserData(GetEnumUnit())])
                        Else - Actions
                    Custom script:   call RemoveLocation(udg_CasterPointRA[GetUnitUserData(GetEnumUnit())])
                    Custom script:   call RemoveLocation(udg_PointGraphUnitRA[GetUnitUserData(GetEnumUnit())])
                    Custom script:   call RemoveLocation(udg_MovePointRA[GetUnitUserData(GetEnumUnit())])
                Else - Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        If - Conditions
            (Number of units in MoveGroupRA) Equal to 0
        Then - Actions
            Trigger - Turn off (This trigger)
        Else - Actions
Good luck.Skil này e mất 15 phút để làm..Mong các bạn cũng hiểu đc trong 15 phút ...\:D/
 
Sau 2 tiếng đồng hồ vò đầu bứt tóc, tính toán ~X(, cuối cùng cũng tìm được góc của cái spell quái ác này 8-}
Đây là spell Ancestral Spirit, nói cách khác là spell thứ 2 của con Tauren trong DotA :D, spell đảm bảo giống hệt :)>- ( trừ cái Icon nhé ;)) )
Tuy nhiên vẫn có 1 số leak chưa remove vì hơi vội :(
Cách damage có lẽ chưa chuẩn lắm, anh em thông cảm :D
Spell đã attach ở dưới, ai thấy hay thanks cái nhé ;;)
Lúc đầu cứ tưởng Computer (Lord) post rồi định không post nữa nhưng down về xem thì vô cùng "thức vọng" :-j
Good luck.Skil này mình mất 2 tiếng để làm..Mong các bạn cũng hiểu đc trong 2 tiếng \:D/ ...
P/S: Đừng hỏi cái chỗ tính angles nhé, hỏi lại chắc tự tử chết quá =))
 

Attachments

Ông tính angle kiểu nào vậy?=))

Tui bảo spell tui chỉ đi cùng chiều được thôi mà:|

Mà spell của ông làm vậy vẫn chưa chuẩn đâu.Ví dụ có cái cây cản con Tauren thì nó sẽ phải đi lách sang bên kia, còn con Spirit nó sẽ không đi lách như Tauren và khi patrol con Spirit đứng bị thịt ở 1 chỗ:))

Chả hiểu làm sao lúc nãy vừa test xong, gọi 1 con ra rồi tui đi lại gần nó có cái effect xanh xanh nổ xung quanh người, thế là 1 lúc sau đơ war ...
 
Á, quên mất 2 cái ấy :D, lách 1 tí cũng đâu có sao mà DotA chắc nó cũng thế thôi ;;)
Sao máy tui chẳng bị gì, chắc máy lởm rồi ;))
 
ko biết anh em ở đây có ai tạo Spell Temple chưa nhỉ ?

P/s : ông WE sao chưa xóa cái Missile của spell đi , mốt làm spell chỉnh cooldown thành 0 test cho nhanh :)
 
@WE:Máy lởm gì, xịn đóa:P

Vừa test lại dota xong nó lách quá đẹp:x

Thật lòng mà nói tui rất thất vọng về ông=))

@Rongdo: Temple là spell gì vậy:-/
 
Cám ơn anh Com nhiều giúp em cái earth splitter,em làm dựa tren fissure hoài mà ko được.À cho em hỏi chiêu cuối thằng batrider trong dota là thuộc loại dash gi` vậy ,cách hướng toward như thế nào?Em xin cảm ơn
 
ko có chơi Dota nên ko biết
mô tả đi đc thì mình làm cho :)
 
@Computer (Lord): Đã edit lại, lần này là lạn lách y như DotA và MUI 100%
Có điều không hiểu sao cho play được walk animation :-??
@rongdoVN: ơ, xóa lâu rồi mà :-o
Cái spell ulti của con batrider thì impossible ( cái chỗ dây kéo ấy =)) )
 
@Rongdo: Nó dùng lưới lữa "bắt cóc" kẻ thù. Thứ 2 nó vừa đi vừa lôi kẻ bị bắt cóc theo trong vòng x.xx giây:>

Công nhận spell đó đối với GUI thì unmakeable(chả bít nó nghĩa gì nữa=)))
 
Có nghĩa là khi cast sẽ phóng 1 chiêu như chiêu trói hay chiêu drain mana
2 đầu dây nối với thằng cast ( trên không ) và thằng target ( dưới đất )
Thằng cast chạy đi đâu thì thằng target bị kéo theo tới đó
Chiêu này đúng là "unmakeable", nếu muốn làm sợi dây 1 đầu cao thấp thì phải dùng dummy, mà trong lúc chanel mà move nó thì chanel đó bị mất, mà DotA lại kéo được mới hay chứ :-??
P/S: Làm sao để play unit walk animation \m/
 
Chuẩn chiêu đó was khó ,đúng là ko thể làm được = GUI=((
.
___________Auto Merge________________

.
Em chỉ ko thể hiểu sao nó có thể Dash đi khắp mọi nơi được thôi,thằng caster muốn kéo thằng targat đi đau cũng được
 
Anh Com ơi chiu Earth Split của anh "hình như" bị leak,em tét cỡ 15 phút thấy giạt tung mán hình ,anh thử xem lại coi
 
Cho em hỏi là(lại thế)skill 3 của thằng huskar trong dota trigger như thế nào ạ,em đã thử làm theo cái dota triggered explain nhưng ko đuọc,cái skill mà mất bao nhiêu máu thì được + bấy nhiu dam ấy ạ
 
Status
Không mở trả lời sau này.
Back
Top