command structure

woohoori

New Member
Aug 30, 2019
2
0
0
#1
In the .LUA files for each command, there is a section that describes the state effects:

stateEffects =
{
StateEffect(
BLIND_EFFECT,
{},
{ "blind_defense", "resistance_states" },
{ "jedi_state_defense" },
25,
100,
10
),


Can someone tell me the meaning of the three numbers above (25,100,10)

thanks!
 

Phoenix

UI Guy
Staff member
Moderator
Sep 25, 2010
207
12
18
28
#2
Look at StateEffect.h located at MMOCoreORB/src/server/zone/objects/creature/commands/effect/StateEffect.h

StateEffect(const StateEffect& effect) : Object() {
effectType = effect.effectType;
defenderExclusionTimers = effect.defenderExclusionTimers;
defenderStateDefenseModifiers = effect.defenderStateDefenseModifiers;
defenderJediStateDefenseModifiers = effect.defenderJediStateDefenseModifiers;
stateChance = effect.stateChance;
stateStrength = effect.stateStrength;
stateLength = effect.stateLength;
}