mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-16 22:58:34 +00:00
[Quest API] Add Hate Entry Methods to Perl (#3459)
# Perl - Add `$hate_entry->GetFrenzy()`. - Add `$hate_entry->SetDamage(value)`. - Add `$hate_entry->SetEnt(mob)`. - Add `$hate_entry->SetFrenzy(is_frenzy)`. - Add `$hate_entry->SetHate(value)`. # Lua - Convert `hate_entry:GetFrenzy()` to `bool` instead of `int`, as `is_entity_frenzy` is a `bool`.
This commit is contained in:
@@ -37,8 +37,8 @@ void Lua_HateEntry::SetHate(int64 value) {
|
||||
self->stored_hate_amount = value;
|
||||
}
|
||||
|
||||
int Lua_HateEntry::GetFrenzy() {
|
||||
Lua_Safe_Call_Int();
|
||||
bool Lua_HateEntry::GetFrenzy() {
|
||||
Lua_Safe_Call_Bool();
|
||||
return self->is_entity_frenzy;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user