private void AddESpellInfo(HOSTILESPELL _id, string _name, int _basevalue, int _basevalue2, int _castTime, int _cooldown, string _icon, int _DoTgap, int _tickCount, DAMAGETYPE _damagetype, int _targetsAmount, TARGETTYPE _targettype, DAMAGESOURCE _damagesource, DEBUFF _debuff, string _desc, bool _misdirectable, MOB _summon = MOB.NUL) { espellInfo[(int)_id] = new EnemySpellInfo( _id, _name, (int)(_basevalue * MULTIP_MOD), (int)(_basevalue2 * MULTIP_MOD), (int)(_castTime * CAST_MOD), (int)(_cooldown * CD_MOD), _icon, (int)(_DoTgap * GAP_MOD), _tickCount, _damagetype, _targetsAmount, _targettype, _damagesource, _debuff, _desc, _misdirectable, _summon); }
public EnemySpellInfo(HOSTILESPELL _id, string _name, int _basevalue, int _basevalue2, int _castTime, int _cooldown, string _icon, int _DoTgap, int _ticksCount, DAMAGETYPE _damagetype, int _targetsAmount, TARGETTYPE _targettype, DAMAGESOURCE _damagesource, DEBUFF _debuff, string _description, bool _misdirectable, MOB _summon) { ID = _id; name = _name; baseValue = _basevalue; baseValue2 = _basevalue2; castTime = _castTime; cooldown = _cooldown; icon = _icon; DoTgap = _DoTgap; ticksCount = _ticksCount; damagetype = _damagetype; targetsAmount = _targetsAmount; targetType = _targettype; damageSource = _damagesource; debuff = _debuff; description = _description; misdirectable = _misdirectable; summon = _summon; }
public EnemySpellInfo GetESpellInfo(HOSTILESPELL _ID) { return(espellInfo[(int)_ID]); }
public void AddSpell(HOSTILESPELL _spell) { mySpell[spellsAmount++] = core.espellHandler.espellInfo[(int)_spell]; }