mirror of
https://github.com/EQEmu/Server.git
synced 2026-09-05 07:16:37 +00:00
[Quest API] Add spell cast methods to Lua (#4096)
# Notes - Add `eq.cast_spell(spell_id)` and `eq.self_cast(spell_id)` to Lua. - Lua did not have a `quest::castspell(spell_id)` or `quest::selfcast(spell_id)` equivalent, so this adds them.
This commit is contained in:
+2
-2
@@ -75,8 +75,8 @@ public:
|
||||
void disable_spawn2(uint32 spawn2_id);
|
||||
void setstat(int stat, int value);
|
||||
void incstat(int stat, int value);
|
||||
void castspell(int spell_id, int target_id);
|
||||
void selfcast(int spell_id);
|
||||
void castspell(uint16 spell_id, uint16 target_id);
|
||||
void selfcast(uint16 spell_id);
|
||||
void addloot(int item_id, int charges = 0, bool equipitem = true, int aug1 = 0, int aug2 = 0, int aug3 = 0, int aug4 = 0, int aug5 = 0, int aug6 = 0);
|
||||
void Zone(const char *zone_name);
|
||||
void ZoneGroup(const char *zone_name);
|
||||
|
||||
Reference in New Issue
Block a user