|
TerrellKl Novice
Joined: 30 Aug 2005 Posts: 49
|
Posted: Thu Sep 01, 2005 4:57 am
#if and expressions |
#trigger {(%d)%p(%d)hp} {
#if ((%2*.75) > %1) {
heal Guy
}
}
That doesnt work right.. why? |
|
|
|
Guinn Wizard
Joined: 03 Mar 2001 Posts: 1127 Location: London
|
Posted: Thu Sep 01, 2005 7:44 am |
I don't have zmud installed anymore, so this is off the top of my head
try using eval for the calculation
#trigger {(%d)%p(%d)hp} {
#if (%eval(%2*0.75) > %1) {
heal Guy
}
} |
|
|
|
TerrellKl Novice
Joined: 30 Aug 2005 Posts: 49
|
Posted: Thu Sep 01, 2005 12:49 pm |
Thx it works now
|
|
|
|
|
|