08-30-2015, 07:18 PM
My idea is instead of using creature.x,y,z to check for creatures positions there could be a macro like
Examples down (2 = Self / 1 = Other creatures)
If you know OTs Spells configs you will understand this easier.
North will check for:
South will check for:
West:
East:
This way its more easy for spells like exori min and future incoming spells...
Code:
Creatures.ByDirBeside(North)>=1
Creatures.ByDirBeside(South)>=1
Creatures.ByDirBeside(West)>=1
Creatures.ByDirBeside(East)>=1
Examples down (2 = Self / 1 = Other creatures)
If you know OTs Spells configs you will understand this easier.
North will check for:
Code:
1,1,1
0,2,0
0,0,0
South will check for:
Code:
0,0,0
0,2,0
1,1,1
Code:
1,0,0
1,2,0
1,0,0
East:
Code:
0,0,1
0,2,1
0,0,1
This way its more easy for spells like exori min and future incoming spells...