|
|
|
|
|
%affectCheckFlag()
Aliases | %affectCheckFlag( ) |
---|
Parameters | object @affect, string @flag1 [, string @flag2 [, ... ] ] |
---|
|
Returns 1 if all of the given flags (@flag1 to @flagX) are set for the given @affect object. If all of the given flags are not set then 0 is returned. The following flag names are supported:
isPositiveBuff isNegativeBuff
Example: --------------------------------------------------------------------------
if( %affectCheckFlag( @affect, isNegativeBuff ) ) { // // Eeeeek! Try and dispel/cure the affect. // } endif |
|
|
|
|
|
|
|