Update/Implementation of various fields in spells_new

219 not_extendable - > not_focusable - No focus are applied to these spells
217 maxtargets -> no_heal_damage_item_mod - Not applied to these spells.
232 -> no_remove -> Can not click off these spells even if beneficial
209 powerful_flag -> no_resist -> Unresistable spell
This commit is contained in:
KayenEQ
2015-10-08 11:49:21 -04:00
parent ffe1bede52
commit c35eacbc99
10 changed files with 590 additions and 23 deletions
+2 -2
View File
@@ -406,7 +406,7 @@ int Lua_Spell::GetSpellGroup() {
int Lua_Spell::GetPowerfulFlag() {
Lua_Safe_Call_Int();
return self->powerful_flag;
return self->no_resist;
}
int Lua_Spell::GetCastRestriction() {
@@ -436,7 +436,7 @@ int Lua_Spell::GetAEMaxTargets() {
int Lua_Spell::GetMaxTargets() {
Lua_Safe_Call_Int();
return self->maxtargets;
return self->no_heal_damage_item_mod;
}
bool Lua_Spell::GetPersistDeath() {