Dark Gamer
Legend of Zelda
- 26/8/07
- 1,125
- 29
em muốn làm 1 spell aura mà các unit cast phép thì sẽ mất thêm 50% mana của chưởng thu nhận vào trigger unit thì làm thế nào ạ?
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.

)
[COLOR="Green"][I]//==============================================================================
// OIDs -- OrderIDs by Cohadar -- v1.1
//==============================================================================
//
// PURPOUSE:
// * Just a bounch of usefull constants
// * I guess the most common use would be ordering a dummy caster
//
// THANKS TO: ???
// * I totally stole these constants from someones .xls file.
// * Unfortunately I forgot whose file it was (probably PipeDream or PitzerMike)
//
// * If someone finds an order not mentioned here please let me know so I can add it.
//
// HOW TO IMPORT:
// * Just create a trigger named OIDs
// * then convert it to text and replace the whole trigger text with this one
//
//==============================================================================[/I][/COLOR]
[B]library[/B] OID
[B]globals[/B]
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] absorb = 852529
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] acolyteharvest = 852185
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] AImove = 851988
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] ambush = 852131
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] ancestralspirit = 852490
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] ancestralspirittarget = 852491
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] animatedead = 852217
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] antimagicshell = 852186
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] attack = 851983
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] attackground = 851984
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] attackonce = 851985
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] attributemodskill = 852576
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] auraunholy = 852215
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] auravampiric = 852216
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] autodispel = 852132
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] autodispeloff = 852134
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] autodispelon = 852133
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] autoentangle = 852505
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] autoentangleinstant = 852506
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] autoharvestgold = 852021
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] autoharvestlumber = 852022
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] avatar = 852086
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] avengerform = 852531
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] awaken = 852466
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] banish = 852486
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] barkskin = 852135
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] barkskinoff = 852137
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] barkskinon = 852136
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] battleroar = 852599
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] battlestations = 852099
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] bearform = 852138
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] berserk = 852100
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] blackarrow = 852577
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] blackarrowoff = 852579
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] blackarrowon = 852578
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] blight = 852187
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] blink = 852525
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] blizzard = 852089
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] bloodlust = 852101
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] bloodlustoff = 852103
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] bloodluston = 852102
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] board = 852043
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] breathoffire = 852580
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] breathoffrost = 852560
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] build = 851994
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] burrow = 852533
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] cannibalize = 852188
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] carrionscarabs = 852551
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] carrionscarabsinstant = 852554
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] carrionscarabsoff = 852553
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] carrionscarabson = 852552
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] carrionswarm = 852218
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] chainlightning = 852119
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] channel = 852600
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] charm = 852581
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] cloudoffog = 852473
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] clusterrockets = 852652
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] coldarrows = 852244
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] coldarrowstarg = 852243
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] controlmagic = 852474
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] corporealform = 852493
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] corrosivebreath = 852140
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] coupleinstant = 852508
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] coupletarget = 852507
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] creepanimatedead = 852246
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] creepdevour = 852247
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] creepheal = 852248
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] creephealoff = 852250
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] creephealon = 852249
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] creepthunderbolt = 852252
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] creepthunderclap = 852253
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] cripple = 852189
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] curse = 852190
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] curseoff = 852192
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] curseon = 852191
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] cyclone = 852144
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] darkconversion = 852228
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] darkportal = 852229
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] darkritual = 852219
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] darksummoning = 852220
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] deathanddecay = 852221
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] deathcoil = 852222
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] deathpact = 852223
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] decouple = 852509
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] defend = 852055
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] detectaoe = 852015
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] detonate = 852145
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] devour = 852104
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] devourmagic = 852536
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] disassociate = 852240
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] disenchant = 852495
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] dismount = 852470
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] dispel = 852057
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] divineshield = 852090
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] doom = 852583
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] drain = 852487
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] dreadlordinferno = 852224
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] dropitem = 852001
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] drunkenhaze = 852585
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] earthquake = 852121
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] eattree = 852146
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] elementalfury = 852586
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] ensnare = 852106
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] ensnareoff = 852108
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] ensnareon = 852107
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] entangle = 852147
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] entangleinstant = 852148
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] entanglingroots = 852171
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] etherealform = 852496
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] evileye = 852105
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] faeriefire = 852149
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] faeriefireoff = 852151
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] faeriefireon = 852150
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] fanofknives = 852526
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] farsight = 852122
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] fingerofdeath = 852230
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] firebolt = 852231
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] flamestrike = 852488
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] flamingarrows = 852174
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] flamingarrowstarg = 852173
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] flamingattack = 852540
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] flamingattacktarg = 852539
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] flare = 852060
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] forceboard = 852044
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] forceofnature = 852176
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] forkedlightning = 852587
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] freezingbreath = 852195
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] frenzy = 852561
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] frenzyoff = 852563
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] frenzyon = 852562
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] frostarmor = 852225
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] frostarmoroff = 852459
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] frostarmoron = 852458
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] frostnova = 852226
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] getitem = 851981
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] gold2lumber = 852233
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] grabtree = 852511
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] harvest = 852018
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] heal = 852063
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] healingward = 852109
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] healingwave = 852501
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] healoff = 852065
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] healon = 852064
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] hex = 852502
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] holdposition = 851993
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] holybolt = 852092
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] howlofterror = 852588
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] humanbuild = 851995
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] immolation = 852177
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] impale = 852555
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] inferno = 852232
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] innerfire = 852066
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] innerfireoff = 852068
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] innerfireon = 852067
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] instant = 852200
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] invisibility = 852069
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] lightningshield = 852110
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] load = 852046
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] loadarcher = 852142
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] loadcorpse = 852050
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] loadcorpseinstant = 852053
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] locustswarm = 852556
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] lumber2gold = 852234
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] magicdefense = 852478
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] magicleash = 852480
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] magicundefense = 852479
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] manaburn = 852179
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] manaflareoff = 852513
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] manaflareon = 852512
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] manashieldoff = 852590
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] manashieldon = 852589
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] massteleport = 852093
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] mechanicalcritter = 852564
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] metamorphosis = 852180
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] militia = 852072
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] militiaconvert = 852071
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] militiaoff = 852073
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] militiaunconvert = 852651
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] mindrot = 852565
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] mirrorimage = 852123
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] monsoon = 852591
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] mount = 852469
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] mounthippogryph = 852143
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] move = 851986
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] nagabuild = 852467
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] neutraldetectaoe = 852023
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] neutralinteract = 852566
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] neutralspell = 852630
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] nightelfbuild = 851997
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] orcbuild = 851996
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] parasite = 852601
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] parasiteoff = 852603
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] parasiteon = 852602
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] patrol = 851990
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] phaseshift = 852514
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] phaseshiftinstant = 852517
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] phaseshiftoff = 852516
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] phaseshifton = 852515
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] phoenixfire = 852481
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] phoenixmorph = 852482
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] poisonarrows = 852255
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] poisonarrowstarg = 852254
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] polymorph = 852074
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] possession = 852196
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] preservation = 852568
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] purge = 852111
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] rainofchaos = 852237
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] rainoffire = 852238
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] raisedead = 852197
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] raisedeadoff = 852199
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] raisedeadon = 852198
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] ravenform = 852155
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] recharge = 852157
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] rechargeoff = 852159
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] rechargeon = 852158
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] rejuvenation = 852160
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] renew = 852161
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] renewoff = 852163
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] renewon = 852162
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] repair = 852024
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] repairoff = 852026
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] repairon = 852025
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] replenish = 852542
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] replenishlife = 852545
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] replenishlifeoff = 852547
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] replenishlifeon = 852546
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] replenishmana = 852548
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] replenishmanaoff = 852550
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] replenishmanaon = 852549
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] replenishoff = 852544
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] replenishon = 852543
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] request_hero = 852239
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] requestsacrifice = 852201
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] restoration = 852202
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] restorationoff = 852204
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] restorationon = 852203
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] resumebuild = 851999
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] resumeharvesting = 852017
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] resurrection = 852283 // was 852094
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] returnresources = 852020
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] revenge = 852241
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] revive = 852039
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] roar = 852164
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] robogoblin = 852656
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] root = 852165
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] sacrifice = 852205
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] sanctuary = 852569
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] scout = 852181
// mine custom
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] scrollofspeed = 852285
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] selfdestruct = 852040
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] selfdestructoff = 852042
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] selfdestructon = 852041
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] sentinel = 852182
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] setrally = 851980
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] shadowsight = 852570
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] shadowstrike = 852527
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] shockwave = 852125
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] silence = 852592
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] sleep = 852227
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] slow = 852075
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] slowoff = 852077
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] slowon = 852076
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] soulpreservation = 852242
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] spellshield = 852571
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] spellshieldaoe = 852572
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] spellsteal = 852483
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] spellstealoff = 852485
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] spellstealon = 852484
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] spies = 852235
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] spiritlink = 852499
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] spiritofvengeance = 852528
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] spirittroll = 852573
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] spiritwolf = 852126
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] stampede = 852593
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] standdown = 852113
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] starfall = 852183
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] stasistrap = 852114
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] steal = 852574
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] stomp = 852127
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] stoneform = 852206
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] stop = 851972
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] submerge = 852604
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] summonfactory = 852658
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] summongrizzly = 852594
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] summonphoenix = 852489
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] summonquillbeast = 852595
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] summonwareagle = 852596
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] tankdroppilot = 852079
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] tankloadpilot = 852080
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] tankpilot = 852081
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] taunt = 852520
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] thunderbolt = 852095
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] thunderclap = 852096
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] tornado = 852597
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] townbelloff = 852083
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] townbellon = 852082
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] tranquility = 852184
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] unavatar = 852087
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] unavengerform = 852532
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] unbearform = 852139
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] unburrow = 852534
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] uncoldarrows = 852245
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] uncorporealform = 852494
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] undeadbuild = 851998
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] undefend = 852056
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] undivineshield = 852091
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] unetherealform = 852497
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] unflamingarrows = 852175
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] unflamingattack = 852541
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] unholyfrenzy = 852209
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] unimmolation = 852178
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] unload = 852047
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] unloadall = 852048
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] unloadallcorpses = 852054
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] unloadallinstant = 852049
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] unpoisonarrows = 852256
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] unravenform = 852156
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] unrobogoblin = 852657
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] unroot = 852166
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] unstableconcoction = 852500
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] unstoneform = 852207
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] unsubmerge = 852605
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] unsummon = 852210
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] unwindwalk = 852130
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] vengeance = 852521
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] vengeanceinstant = 852524
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] vengeanceoff = 852523
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] vengeanceon = 852522
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] voodoo = 852503
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] ward = 852504
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] wardofshadowsight = 852570
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] waterelemental = 852097
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] wateryminion = 852598
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] web = 852211
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] weboff = 852213
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] webon = 852212
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] whirlwind = 852128
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] windwalk = 852129
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] wispharvest = 852214
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] acidbomb = 852662
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] chemicalrage = 852663
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] healingspray = 852664
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] transmute = 852665
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] lavamonster = 852667
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] soulburn = 852668
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] volcano = 852669
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] cancel = 851976
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] moveslot1 = 852002
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] moveslot2 = 852003
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] moveslot3 = 852004
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] moveslot4 = 852005
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] moveslot5 = 852006
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] moveslot6 = 852007
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] useslot1 = 852008
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] useslot2 = 852009
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] useslot3 = 852010
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] useslot4 = 852011
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] useslot5 = 852012
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] useslot6 = 852013
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] smart = 851971
[B]public constant[/B] [COLOR="RoyalBlue"][B]integer[/B][/COLOR] skillmenu = 852000
[B]endglobals[/B]
[B]endlibrary[/B]
[B]call[/B] [COLOR="Indigo"]IssueImmediateOrderById[/COLOR]( <unit>, OID_blizzard )
//or
[B]call[/B] [COLOR="Indigo"]IssueTargetOrderById[/COLOR]( <unit>, OID_blizzard, <mục tiêu> )
//or
[B]call[/B] [COLOR="Indigo"]IssuePointOrderById[/COLOR]( <unit>, OID_blizzard, <mục tiêu X>, <mục tiêu Y> )

k0 bít nội dung câu hỏi này có fu hợp với box k0 nhưng có ng bảo em vào đây hỏicác bác ơi, con cọc rắn bản dday 19.9b chưởng cuối là j vậy?


function CheckUnitPosition takes unit b, unit a returns integer//position of b from a
local location ta = GetUnitLoc(a)
local location tb = GetUnitLoc(b)
local real angle = AngleBetweenPoints(ta,tb)
call RemoveLocation(ta)
set ta = null
call RemoveLocation(tb)
set tb = null
if angle < 0 then
set angle = angle+360- GetUnitFacing(a)
else
set angle = angle- GetUnitFacing(a)
endif
if angle < 0 then
set angle = angle+360
endif
if angle <= 225 and angle >= 135 then
return 2
elseif angle < 330 and angle > 225 then
return 3
elseif angle < 135 and angle > 30 then
return 4
endif
return 1
endfunction
function IsUnitBeHide takes unit b, unit a returns boolean //b = behide, a = source
return CheckUnitPosition(b,a) == 2
endfunction
function IsUnitInFront takes unit b, unit a returns boolean//b = infront, a = source
return CheckUnitPosition(b,a) == 1
endfunction
function IsUnitAtSideRight takes unit b, unit a returns boolean//b = atside, a = source
return CheckUnitPosition(b,a) == 3
endfunction
function IsUnitAtSideLeft takes unit b, unit a returns boolean//b = atside, a = source
return CheckUnitPosition(b,a) == 4
endfunction
Set UnitCheck = (Attacking unit)
Set UnitSource = (Triggering unit)
Custom script: set udg_Check = IsUnitInFront( udg_UnitCheck, udg_UnitSource)//kiểm tra xem UnitCheck có ở đằng trước UnitSource ko
Custom script: set udg_Check = IsUnitBeHide( udg_UnitCheck, udg_UnitSource)//kiểm tra xem UnitCheck có ở đằng sau UnitSource ko
Custom script: set udg_Check = IsUnitAtSideLeft( udg_UnitCheck, udg_UnitSource)//kiểm tra xem UnitCheck có ở phía bên trái UnitSource ko
Custom script: set udg_Check = IsUnitAtSideRight udg_UnitCheck, udg_UnitSource)//kiểm tra xem UnitCheck có ở phía bên phải UnitSource ko
Backstab
Events
Unit - A unit Is attacked
Conditions
(Level of Backstab for (Attacking unit)) Greater than 0
Actions
Set UnitCheck = (Attacking unit)
Set UnitSource = (Triggering unit)
Custom script: set udg_Check = IsUnitBeHide( udg_UnitCheck, udg_UnitSource)
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Check Equal to True
Then - Actions
Special Effect - Create a special effect attached to the head of UnitSource using Abilities\Spells\Other\Stampede\StampedeMissileDeath.mdl
Special Effect - Destroy (Last created special effect)
Unit - Cause UnitCheck to damage UnitSource, dealing (50.00 + (25.00 x (Real((Level of Backstab for UnitCheck))))) damage of attack type Chaos and damage type Normal
Else - Actions