Stress gw -_-
biar bisa dimengerti lah setidaknya @_@
Printable View
Stress gw -_-
biar bisa dimengerti lah setidaknya @_@
bused....gw ga mudeng ama custom script (yg gw ngerti palingan yang buat ngilangin leak)
ini mah JASS terselubung, wokwow
mbhe, bs buatin yang GUI warasnya ga?
yang di // artinya comment- -'
kayak gini kah??Code:STRperSEC
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to Animate Dead aktif u yg ngasih buff
((Target unit of ability being cast) has buff Animate Dead) Equal to False
Actions
Custom script: local unit target=GetSpellTargetUnit()
For each (Integer A) from 1 to 100, do (Actions)
Loop - Actions
Custom script: set udg_tempUnit = target
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(tempUnit has buff Animate Dead) Equal to True
Then - Actions
Set tempReal = (20.00 + ((Real((Level of (Ability being cast) for (Triggering unit)))) x 10.00))
Set tempReal = ((tempReal / 100.00) x (Real((Strength of (Triggering unit) (Include bonuses)))))
Unit - Cause (Triggering unit) to damage tempUnit, dealing tempReal damage of attack type Spells and damage type Normal
Wait 1.00 game-time seconds
Else - Actions
Custom script: set target=null
mbhe,
- di Loop GUI ga boleh ada wait
- di Else nya kasih Skip Remaining Actions
that's it sisanya keren @_@
sapa bilang loop gui g boleh ada wait, punya gw loop wait ada mua koq
@thanatos
ya gw jg ngerti "//" comment
tp custom scriptnya itu.. . . . .
@lambhe
wa tq2
Bukan ga bisa, tapi ga boleh mbhe
Loop GUI dalam JASS (Converted):
Code:swt
Events
Conditions
Actions
For each (Integer A) from 1 to 10, do (Actions)
Loop - Actions
Wait 1.00 seconds
tahukah anda kalau bj_forLoopIntegerA dan bj_forLoopIntegerAIndex adalah global variable yang bakal conflict kalau dipake bersamaan?Code:function Trig_swt_Actions takes nothing returns nothing
set bj_forLoopAIndex = 1
set bj_forLoopAIndexEnd = 10
loop
exitwhen bj_forLoopAIndex > bj_forLoopAIndexEnd
call TriggerSleepAction( 1.00 )
set bj_forLoopAIndex = bj_forLoopAIndex + 1
endloop
endfunction
//===========================================================================
function InitTrig_swt takes nothing returns nothing
set gg_trg_swt = CreateTrigger( )
call TriggerAddAction( gg_trg_swt, function Trig_swt_Actions )
endfunction
Maxud gw, kalo ada Loop Integer A pake wait, misalnya ada yang mau pake Loop Integer A juga di trigger lain, bakal ngebug...
owh, integer A tu global variabel? sebenernya gw juga ngrasain anehnya -_-
klo gw looping pasti pake 2 triger, triger pertama nyalain loop, triger ke2 buat loop
gw pikir integer A buat loopwait tu kaya gitu soal nya ada bugnya,,
::hahaha::
Iya :grin:
emang ngebug xD
jadi, yg perfectnya gmn dong request gw?
ganti integer A ma integer variabel, array, disesuain sma player number
sep2. . .
sekalian request lg a
l0git3c Aura (masi bingung kasi namana)
Semua enemy unit disekitar aura, bakal ada chance miss 15% di setiap serangannya. AoEnya sekitar 300. (Bukan evasion y, soalnya kalo musuh nyerang unit lain, sementara dia ada di wilayah aura, dia bakal miss jg)
gw mikirnya, tiap detik ngepick enemy disekitar aura, terus create dummy, cast curse ke picked unit. tapi entar lag kan y?
Gpp ^^
Itu masalah buat Linken, dimana Buriza utk hero range juga berentiin Linken...
pake JASS dan say hehe to no lag
gw bakal coba buatin, tapi gpp pake JASS kan :sob:
Gw kasih Configuration di header kok...