soulmaka
New Member
- Reaction score
- 2
i have this trigger , it seems okay.. but the problem is the integer A will only work 1-2 times.. hmmm. :banghead::banghead:
help would be really appreciated :thup::thup:
help would be really appreciated :thup::thup:
Trigger:
- Lightning Strike
- Events
- Unit - A unit Starts the effect of an ability
- Conditions
- (Ability being cast) Equal to Lightning Strike
- Actions
- Set LS_C = (Triggering unit)
- Set LS_CP = (Position of LS_C)
- Set LS_T = (Target unit of ability being cast)
- For each (Integer A) from 1 to 10, do (Actions)
- Loop - Actions
- For each (Integer B) from 1 to 12, do (Actions)
- Loop - Actions
- Set LS_PWO = (LS_CP offset by 100.00 towards (30.00 x (Real((Integer B)))) degrees)
- Unit - Create 1 Dummy Lightning for (Owner of LS_C) at LS_PWO facing Default building facing degrees
- Unit - Add Chain Lightning Stonger than ever forever to (Last created unit)
- Unit - Set level of Chain Lightning Stonger than ever forever for (Last created unit) to (Level of Lightning Strike for (Triggering unit))
- Unit - Order (Last created unit) to Orc Far Seer - Chain Lightning (Target unit of ability being cast)
- Unit - Add a 1.50 second Generic expiration timer to (Last created unit)
- Custom script: call RemoveLocation (udg_LS_PWO)
- Loop - Actions
- Wait 0.10 seconds
- For each (Integer B) from 1 to 12, do (Actions)
- Loop - Actions
- Custom script: call RemoveLocation (udg_LS_CP)
- Events