mirror of
https://github.com/EQEmu/Server.git
synced 2026-06-10 15:00:25 +00:00
[Quest API] Add Spell methods to Perl. (#1631)
* [Quest API] Add Spell methods to Perl. - Add quest::getspell(spell_id) to Perl. - Add eq.get_spell(spell_id) to Lua. These methods return a spell object. Exports $spell object references to spell events. * Formatting. * Remove comment. * Update spdat.cpp * Amplication typo. * Fix conflicts. * Remove repository changes. * Fix typing. * Update spell_effects.cpp
This commit is contained in:
+2
-2
@@ -1891,9 +1891,9 @@ void Lua_Mob::WearChange(int material_slot, int texture, uint32 color) {
|
||||
self->WearChange(material_slot, texture, color);
|
||||
}
|
||||
|
||||
void Lua_Mob::DoKnockback(Lua_Mob caster, uint32 pushback, uint32 pushup) {
|
||||
void Lua_Mob::DoKnockback(Lua_Mob caster, uint32 push_back, uint32 push_up) {
|
||||
Lua_Safe_Call_Void();
|
||||
self->DoKnockback(caster, pushback, pushup);
|
||||
self->DoKnockback(caster, push_back, push_up);
|
||||
}
|
||||
|
||||
void Lua_Mob::AddNimbusEffect(int effect_id) {
|
||||
|
||||
Reference in New Issue
Block a user