Mob Methods
Perl
Lua
1
$mob->AddFeignMemory(client* attacker)
2
$mob->AddToHateList(mob* other, [int32 hate = 0], [int32 damage = 0], [bool yell_for_help = true], [bool frenzy = false], [bool buff_tic = false])
3
$mob->Attack(mob* other, [int hand = 13 [prim|sec]], [bool from_riposte = false])
4
$mob->BehindMob(mob* other = 0, [float X = 0.0f], [float Y= 0.0f])
5
$mob->BuffCount()
6
$mob->BuffFadeAll()
7
$mob->BuffFadeByEffect(int effect_id, int skip_slot = -1)
8
$mob->BuffFadeBySlot(int slot, bool recalc_bonuses = true)
9
$mob->BuffFadeBySpellID(uint16 spell_id)
10
$mob->CalculateDistance(float X, float Y, float Z)
11
$mob->CalculateHeadingToTarget(float X, float Y)
12
$mob->CameraEffect(uint32 duration, [uint32 intensity = 0], [client* single_client = nullptr], [bool is_world_wide = false])
13
$mob->CanBuffStack(uint16 spell_id, uint8 caster_level, [bool fail_if_overwritten = false])
14
$mob->CanClassEquipItem(uint32 item_id)
15
$mob->CanThisClassDodge()
16
$mob->CanThisClassDoubleAttack()
17
$mob->CanThisClassDualWield()
18
$mob->CanThisClassParry()
19
$mob->CanThisClassRiposte()
20
$mob->CastSpell(uint16 spell_id, uint16 target_id, [int slot = 22], [int32 cast_time = -1], [int32 mana_cost = -1], [int16 resist_adjust = 0])
21
$mob->CastToClient()
22
$mob->CastToCorpse()
23
$mob->CastToMob()
24
$mob->CastToNPC()
25
$mob->CastingSpellID()
26
$mob->ChangeSize(float in_size, [bool no_restriction = false])
27
$mob->Charmed()
28
$mob->CheckAggro(mob* other)
29
$mob->CheckAggroAmount(uint16 spell_id)
30
$mob->CheckHealAggroAmount(uint16 spell_id, uint32 possible_heal_amt)
31
$mob->CheckLoS(mob*)
32
$mob->CheckLoSToLoc(float X, float Y, float Z, float mob_size)
33
$mob->ClearFeignMemory()
34
$mob->ClearSpecialAbilities()
35
$mob->CombatRange(mob* target)
36
$mob->Damage(mob* from, int32 damage, uint16 spell_id, int attack_skill, [bool avoidable = true], [int8 buffslot = -1], [bool buff_tic = false])
37
$mob->Depop(startspawntimer = true)
38
$mob->DivineAura()
39
$mob->DoAnim(int animation_number, [int type = 0])
40
$mob->DoArcheryAttackDmg(mob* target, [range_weapon_item_instance = nullptr], [ammo_item_instance = nullptr], uint16 weapon_damage, int16 chance_mod, int16 focus)
41
$mob->DoKnockback(mob* caster, uint32 push_back_amount, uint32 push_up_amount)
42
$mob->DoMeleeSkillAttackDmg(mob* target, uint16 weapon_damage, int skill, int16 chance_mod, int16 focus, uint8 can_riposte)
43
$mob->DoSpecialAttackDamage(mob* target, int skill, int32 max_damage, [int32 min_damage = 1], [int32 hate_override = -11])
44
$mob->DoThrowingAttackDmg(mob* target, [range_weapon_item_instance = nullptr], [ammo_item_instance = nullptr], uint16 weapon_damage, int16 chance_mod, int16 focus)
45
$mob->DontBuffMeBefore()
46
$mob->DontDotMeBefore()
47
$mob->DontHealMeBefore()
48
$mob->DontRootMeBefore()
49
$mob->DontSnareMeBefore()
50
$mob->DoubleAggro(mob* other)
51
$mob->Emote(string message)
52
$mob->EntityVariableExists(string id)
53
$mob->FaceTarget([mob* target = 0])
54
$mob->FindBuff(uint16 spell_id)
55
$mob->FindBuffBySlot(int slot)
56
$mob->FindGroundZ(float X, float Y, float Z_offset)
57
$mob->FindType(uint8 type, [bool offensive = false], [uint16 threshold = 100])
58
$mob->GMMove(float X, float Y, float Z, [float heading = 0.01])
59
$mob->Gate()
60
$mob->GetAA(uint32 rank_id)
61
$mob->GetAAByAAID(uint32 aa_id)
62
$mob->GetAC()
63
$mob->GetAGI()
64
$mob->GetATK()
65
$mob->GetActSpellCasttime(uint16 spell_id, uint32 cast_time)
66
$mob->GetActSpellCost(uint16 spell_id, int32 cost)
67
$mob->GetActSpellDamage(uint16 spell_id, int32 value)
68
$mob->GetActSpellDuration(uint16 spell_id, int32 duration)
69
$mob->GetActSpellHealing(uint16 spell_id, int32 value)
70
$mob->GetActSpellRange(uint16 spell_id, float range)
71
$mob->GetAggroRange()
72
$mob->GetAllowBeneficial()
73
$mob->GetAppearance()
74
$mob->GetArmorTint(uint8 material_slot)
75
$mob->GetAssistRange()
76
$mob->GetBaseGender()
77
$mob->GetBaseRace()
78
$mob->GetBaseSize()
79
$mob->GetBeard()
80
$mob->GetBeardColor()
81
$mob->GetBodyType()
82
$mob->GetBuffSlotFromType(uint16 type)
83
$mob->GetCHA()
84
$mob->GetCR()
85
$mob->GetCasterLevel(spell_id)
86
$mob->GetClass()
87
$mob->GetClassLevelFactor()
88
$mob->GetCleanName()
89
$mob->GetCorruption()
90
$mob->GetDEX()
91
$mob->GetDR()
92
$mob->GetDamageAmount(mob* target_mob)
93
$mob->GetDeity()
94
$mob->GetDrakkinDetails()
95
$mob->GetDrakkinHeritage()
96
$mob->GetDrakkinTattoo()
97
$mob->GetEntityVariable(string id)
98
$mob->GetEquipment(uint8 material_slot)
99
$mob->GetEquipmentColor(uint8 material_slot)
100
$mob->GetEquipmentMaterial(uint8 material_slot)
101
$mob->GetEyeColor1()
102
$mob->GetEyeColor2()
103
$mob->GetFR()
104
$mob->GetFlurryChance()
105
$mob->GetFollowID()
106
$mob->GetGender()
107
$mob->GetHP()
108
$mob->GetHPRatio()
109
$mob->GetHairColor()
110
$mob->GetHairStyle()
111
$mob->GetHandToHandDamage()
112
$mob->GetHandToHandDelay()
113
$mob->GetHaste()
114
$mob->GetHateAmount(mob* mob, [bool is_damage = false])
115
$mob->GetHateDamageTop(mob* other)
116
$mob->GetHateList()
117
$mob->GetHateRandom()
118
$mob->GetHateTop()
119
$mob->GetHeading()
120
$mob->GetHelmTexture()
121
$mob->GetHerosForgeModel(uint8 material_slot)
122
$mob->GetID()
123
$mob->GetINT()
124
$mob->GetInvul()
125
$mob->GetItemHPBonuses()
126
$mob->GetItemStat(uint32 item_id, string stat)
127
$mob->GetLevel()
128
$mob->GetLevelCon(uint8 other_level)
129
$mob->GetLevelHP(uint8 level)
130
$mob->GetLuclinFace()
131
$mob->GetMR()
132
$mob->GetMana()
133
$mob->GetManaRatio()
134
$mob->GetMaxAGI()
135
$mob->GetMaxCHA()
136
$mob->GetMaxDEX()
137
$mob->GetMaxHP()
138
$mob->GetMaxINT()
139
$mob->GetMaxMana()
140
$mob->GetMaxSTA()
141
$mob->GetMaxSTR()
142
$mob->GetMaxWIS()
143
$mob->GetMeleeMitigation()
144
$mob->GetModSkillDmgTaken(int skill_id)
145
$mob->GetModVulnerability(uint8 resist)
146
$mob->GetNPCTypeID()
147
$mob->GetName()
148
$mob->GetNimbusEffect1()
149
$mob->GetNimbusEffect2()
150
$mob->GetNimbusEffect3()
151
$mob->GetOwnerID()
152
$mob->GetPR()
153
$mob->GetPetID()
154
$mob->GetPetOrder()
155
$mob->GetPetType()
156
$mob->GetPhR()
157
$mob->GetRace()
158
$mob->GetResist(type)
159
$mob->GetReverseFactionCon(iother)
160
$mob->GetRunAnimSpeed()
161
$mob->GetRunspeed()
162
$mob->GetSTA()
163
$mob->GetSTR()
164
$mob->GetShieldTarget()
165
$mob->GetSize()
166
$mob->GetSkill(int skill_id)
167
$mob->GetSkillDmgTaken(int skill_id)
168
$mob->GetSpecialAbility(int special_ability)
169
$mob->GetSpecialAbilityParam(int special_ability, int param)
170
$mob->GetSpecializeSkillValue(uint16 spell_id)
171
$mob->GetSpellHPBonuses()
172
$mob->GetSpellIDFromSlot(slot)
173
$mob->GetSpellStat(uint32 spell_id, string stat, uint8 slot)
174
$mob->GetTarget()
175
$mob->GetTexture()
176
$mob->GetWIS()
177
$mob->GetWalkspeed()
178
$mob->GetWaypointH()
179
$mob->GetWaypointID()
180
$mob->GetWaypointPause()
181
$mob->GetWaypointX()
182
$mob->GetWaypointY()
183
$mob->GetWaypointZ()
184
$mob->GetX()
185
$mob->GetY()
186
$mob->GetZ()
187
$mob->GetZoneID()
188
$mob->GoToBind()
189
$mob->HalveAggro(mob* other)
190
$mob->HasNPCSpecialAtk(string ability_string)
191
$mob->HasOwner()
192
$mob->HasPet()
193
$mob->HasProcs()
194
$mob->HasShieldEquiped()
195
$mob->HasTwoHandBluntEquiped()
196
$mob->HasTwoHanderEquipped()
197
$mob->HateSummon()
198
$mob->Heal()
199
$mob->HealDamage(int32 amount, [mob* caster = 0])
200
$mob->InterruptSpell([uint16 spell_id = 0xffff])
201
$mob->IsAIControlled()
202
$mob->IsAmnesiad()
203
$mob->IsBeacon()
204
$mob->IsBeneficialAllowed(mob* target)
205
$mob->IsBlind()
206
$mob->IsBot()
207
$mob->IsCasting()
208
$mob->IsClient()
209
$mob->IsCorpse()
210
$mob->IsDoor()
211
$mob->IsEliteMaterialItem(uint8 material_slot)
212
$mob->IsEngaged()
213
$mob->IsEnraged()
214
$mob->IsFeared()
215
$mob->IsImmuneToSpell(uint16 spell_id, [mob* caster = nullptr])
216
$mob->IsInvisible([mob* other = 0])
217
$mob->IsMeleeDisabled()
218
$mob->IsMezzed()
219
$mob->IsMob()
220
$mob->IsMoving()
221
$mob->IsNPC()
222
$mob->IsNPCCorpse()
223
$mob->IsObject()
224
$mob->IsPet()
225
$mob->IsPlayerCorpse()
226
$mob->IsRoamer()
227
$mob->IsRooted()
228
$mob->IsRunning()
229
$mob->IsSilenced()
230
$mob->IsStunned()
231
$mob->IsTargetable()
232
$mob->IsTargeted()
233
$mob->IsTrap()
234
$mob->IsWarriorClass()
235
$mob->Kill()
236
$mob->MakePet(uint16 spell_id, string pet_type, [string name = nullptr])
237
$mob->MakeTempPet(uint16 spell_id, [string name = nullptr], [uint32 duration = 0], [mob* target = nullptr], [bool sticktarg = 0])
238
$mob->Mesmerize()
239
$mob->Message(uint32 emote_color_type, string message)
240
$mob->Message_StringID(uint32 emote_color_type, uint32 string_id, [uint32 distance = 0])
241
$mob->ModSkillDmgTaken(int skill, int16 value)
242
$mob->ModVulnerability(uint8 resist, int16 value)
243
$mob->NPCSpecialAttacks(string abilities_string, int perm_tag, [bool reset = true], [bool remove = true])
244
$mob->NavigateTo(float X, float Y, float Z)
245
$mob->ProcessSpecialAbilities(string str)
246
$mob->ProjectileAnim(mob* mob, int item_id, [bool is_arrow = false], [float speed = 0], [float angle = 0], [float tilt = 0], [float arc = 0])
247
$mob->RandomizeFeatures(bool send_illusion, set_variables)
248
$mob->RangedAttack(mob* other)
249
$mob->RemoveFromFeignMemory(client* attacker)
250
$mob->RemoveNimbusEffect(int32 effect_id)
251
$mob->ResistSpell(uint8 resist_type, uint16 spell_id, [mob* caster = nullptr])
252
$mob->RogueAssassinate(other)
253
$mob->Say(string message)
254
$mob->SeeHide()
255
$mob->SeeImprovedHide()
256
$mob->SeeInvisible()
257
$mob->SeeInvisibleUndead()
258
$mob->SendAppearanceEffect(int32 param_1, [int32 param_2 = 0], [int32 param_3 = 0], [int32 param_4 = 0], [int32 param_5 = 0], [client* single_client_to_send_to = null])
259
$mob->SendIllusion(uint16 race, [uint8 gender = 0xff], [uint8 texture face = 0xff], [uint8 hairstyle = 0xff], [uint8 hair_color = 0xff], [uint8 beard = 0xff], [uint8 beard_color =ff], [uint32 drakkin_tattoo = 0xffffffff], [uint32 drakkin_details = 0xffffffff], [float size = -1])
260
$mob->SendTo(float new_x, float new_y, float new_z)
261
$mob->SendToFixZ(float new_x, float new_y, float new_z)
262
$mob->SendWearChange(uint8 material_slot)
263
$mob->SetAA(int aa_id, int points, [int charges = 0])
264
$mob->SetAllowBeneficial(bool value)
265
$mob->SetAppearance(int appearance [0|1|2|3|4], [ignore_self = true])
266
$mob->SetBodyType(int32 type, [bool overwrite_orig = false])
267
$mob->SetCurrentWP(waypoint)
268
$mob->SetDeltas(float delta_x, float delta_y, float delta_z, float delta_h)
269
$mob->SetDisableMelee(bool value)
270
$mob->SetEntityVariable(string id, string var)
271
$mob->SetExtraHaste(int haste)
272
$mob->SetFlurryChance(uint8 value)
273
$mob->SetFlyMode(uint8 flymode[0|1|2|3|4|5])
274
$mob->SetFollowID(id)
275
$mob->SetGender(int32 gender)
276
$mob->SetHP(int32 hp)
277
$mob->SetHate(mob* other, [int32 hate = 0], [int32 damage = 0])
278
$mob->SetHeading(float heading)
279
$mob->SetInvisible(uint8 state)
280
$mob->SetInvul(bool set_invulnerable)
281
$mob->SetLD(bool value)
282
$mob->SetLevel(uint8 in_level, [bool command = false])
283
$mob->SetMana(amount)
284
$mob->SetMaxHP()
285
$mob->SetOOCRegen(int32 new_ooc_regen)
286
$mob->SetOwnerID(uint16 new_owner_id)
287
$mob->SetPetID(uint16 new_pet_id)
288
$mob->SetPetOrder(i)
289
$mob->SetRace(int32 race)
290
$mob->SetRunAnimSpeed(int8 speed)
291
$mob->SetRunning(bool value)
292
$mob->SetShieldTarget(mob)
293
$mob->SetSlotTint(uint8 material_slot, uint8 red_tint, uint8 green_tint, uint8 blue_tint)
294
$mob->SetSpecialAbility(int ability, int value)
295
$mob->SetSpecialAbilityParam(int ability, int param, int value)
296
$mob->SetTarget(mob)
297
$mob->SetTargetable(bool targetable)
298
$mob->SetTexture(int32 texture)
299
$mob->Shout(string message)
300
$mob->SignalClient(client* client, uint32 data)
301
$mob->SpellEffect(uint32 effect, [uint32 duration = 5000], [uint32 finish_delay = 0], [bool zone_wide = false], [uint32 unk20 = 3000], [bool perm_effect = false], [client* single_client])
302
$mob->SpellFinished(uint16 spell_id, [mob* spell_target = this], [uint16 mana_cost = 0], [uint16 resist_diff = 0])
303
$mob->Spin()
304
$mob->StartEnrage()
305
$mob->Stun(int duration)
306
$mob->TempName(string name)
307
$mob->ThrowingAttack(mob* other)
308
$mob->TryMoveAlong(float distance, float angle, bool send)
309
$mob->TypesTempPet(uint32 type_id, [string name = nullptr], [uint32 duration = 0], [bool follow = 0], [mob* target = nullptr], [bool stick_targ = 0])
310
$mob->WearChange(uint8 material_slot, uint16 texture, [uint32 color = 0, uint32 hero_forge_model = 0])
311
$mob->WipeHateList()
Copied!
1
mob:AddNimbusEffect(int effect_id); -- void
2
mob:AddToHateList(Lua_Mob other); -- void
3
mob:AddToHateList(Lua_Mob other, int hate); -- void
4
mob:AddToHateList(Lua_Mob other, int hate, int damage); -- void
5
mob:AddToHateList(Lua_Mob other, int hate, int damage, bool yell_for_help); -- void
6
mob:AddToHateList(Lua_Mob other, int hate, int damage, bool yell_for_help, bool frenzy); -- void
7
mob:AddToHateList(Lua_Mob other, int hate, int damage, bool yell_for_help, bool frenzy, bool buff_tic); -- void
8
mob:Attack(Lua_Mob other); -- bool
9
mob:Attack(Lua_Mob other, int hand); -- bool
10
mob:Attack(Lua_Mob other, int hand, bool from_riposte); -- bool
11
mob:Attack(Lua_Mob other, int hand, bool from_riposte, bool is_strikethrough); -- bool
12
mob:Attack(Lua_Mob other, int hand, bool from_riposte, bool is_strikethrough, bool is_from_spell); -- bool
13
mob:AttackAnimation(int Hand, Lua_ItemInst weapon); -- int
14
mob:BehindMob(); -- bool
15
mob:BehindMob(Lua_Mob other); -- bool
16
mob:BehindMob(Lua_Mob other, float x); -- bool
17
mob:BehindMob(Lua_Mob other, float x, float y); -- bool
18
mob:BuffCount(); -- uint32
19
mob:BuffFadeAll(); -- void
20
mob:BuffFadeByEffect(int effect_id); -- void
21
mob:BuffFadeByEffect(int effect_id, int skipslot); -- void
22
mob:BuffFadeBySlot(int slot); -- void
23
mob:BuffFadeBySlot(int slot, bool recalc_bonuses); -- void
24
mob:BuffFadeBySpellID(int spell_id); -- void
25
mob:CalculateDistance(double x, double y, double z); -- float
26
mob:CalculateHeadingToTarget(double in_x, double in_y); -- double
27
mob:CameraEffect(uint32 duration, uint32 intensity); -- void
28
mob:CameraEffect(uint32 duration, uint32 intensity, Lua_Client c); -- void
29
mob:CameraEffect(uint32 duration, uint32 intensity, Lua_Client c, bool global); -- void
30
mob:CanBuffStack(int spell_id, int caster_level); -- int
31
mob:CanBuffStack(int spell_id, int caster_level, bool fail_if_overwrite); -- int
32
mob:CanThisClassBlock(); -- bool
33
mob:CanThisClassDodge(); -- bool
34
mob:CanThisClassDoubleAttack(); -- bool
35
mob:CanThisClassDualWield(); -- bool
36
mob:CanThisClassParry(); -- bool
37
mob:CanThisClassRiposte(); -- bool
38
mob:CastSpell(int spell_id, int target_id); -- bool
39
mob:CastSpell(int spell_id, int target_id, int slot); -- bool
40
mob:CastSpell(int spell_id, int target_id, int slot, int cast_time); -- bool
41
mob:CastSpell(int spell_id, int target_id, int slot, int cast_time, int mana_cost); -- bool
42
mob:CastSpell(int spell_id, int target_id, int slot, int cast_time, int mana_cost, int item_slot); -- bool
43
mob:CastSpell(int spell_id, int target_id, int slot, int cast_time, int mana_cost, int item_slot, int timer,; -- bool
44
mob:CastSpell(int spell_id, int target_id, int slot, int cast_time, int mana_cost, int item_slot, int timer,; -- bool
45
mob:ChangeBeard(int in); -- void
46
mob:ChangeBeardColor(int in); -- void
47
mob:ChangeDrakkinDetails(int in); -- void
48
mob:ChangeDrakkinHeritage(int in); -- void
49
mob:ChangeDrakkinTattoo(int in); -- void
50
mob:ChangeEyeColor1(int in); -- void
51
mob:ChangeEyeColor2(int in); -- void
52
mob:ChangeGender(int in); -- void
53
mob:ChangeHairColor(int in); -- void
54
mob:ChangeHairStyle(int in); -- void
55
mob:ChangeHelmTexture(int in); -- void
56
mob:ChangeLuclinFace(int in); -- void
57
mob:ChangeRace(int in); -- void
58
mob:ChangeSize(double in_size); -- void
59
mob:ChangeSize(double in_size, bool no_restriction); -- void
60
mob:ChangeTexture(int in); -- void
61
mob:Charmed(); -- bool
62
mob:CheckAggro(Lua_Mob other); -- bool
63
mob:CheckAggroAmount(int spell_id); -- int
64
mob:CheckAggroAmount(int spell_id, bool is_proc); -- int
65
mob:CheckHealAggroAmount(int spell_id); -- int
66
mob:CheckHealAggroAmount(int spell_id, uint32 heal_possible); -- int
67
mob:CheckLoS(Lua_Mob other); -- bool
68
mob:CheckLoSToLoc(double x, double y, double z); -- bool
69
mob:CheckLoSToLoc(double x, double y, double z, double mob_size); -- bool
70
mob:CheckNumHitsRemaining(int type, int32 buff_slot, uint16 spell_id); -- void
71
mob:ClearSpecialAbilities(); -- void
72
mob:CombatRange(Lua_Mob other); -- bool
73
mob:Damage(Lua_Mob from, int damage, int spell_id, int attack_skill); -- void
74
mob:Damage(Lua_Mob from, int damage, int spell_id, int attack_skill, bool avoidable); -- void
75
mob:Damage(Lua_Mob from, int damage, int spell_id, int attack_skill, bool avoidable, int buffslot); -- void
76
mob:Damage(Lua_Mob from, int damage, int spell_id, int attack_skill, bool avoidable, int buffslot, bool buff_tic); -- void
77
mob:DelGlobal(const char *varname); -- void
78
mob:Depop(); -- void
79
mob:Depop(bool start_spawn_timer); -- void
80
mob:DivineAura(); -- bool
81
mob:DoAnim(int anim_num); -- void
82
mob:DoAnim(int anim_num, int type); -- void
83
mob:DoAnim(int anim_num, int type, bool ackreq); -- void
84
mob:DoAnim(int anim_num, int type, bool ackreq, int filter); -- void
85
mob:DoArcheryAttackDmg(Lua_Mob other); -- void
86
mob:DoArcheryAttackDmg(Lua_Mob other, Lua_ItemInst range_weapon); -- void
87
mob:DoArcheryAttackDmg(Lua_Mob other, Lua_ItemInst range_weapon, Lua_ItemInst ammo); -- void
88
mob:DoArcheryAttackDmg(Lua_Mob other, Lua_ItemInst range_weapon, Lua_ItemInst ammo, int weapon_damage); -- void
89
mob:DoArcheryAttackDmg(Lua_Mob other, Lua_ItemInst range_weapon, Lua_ItemInst ammo, int weapon_damage, int chance_mod); -- void
90
mob:DoArcheryAttackDmg(Lua_Mob other, Lua_ItemInst range_weapon, Lua_ItemInst ammo, int weapon_damage, int chance_mod,; -- void
91
mob:DoKnockback(Lua_Mob caster, uint32 pushback, uint32 pushup); -- void
92
mob:DoMeleeSkillAttackDmg(Lua_Mob other, int weapon_damage, int skill); -- void
93
mob:DoMeleeSkillAttackDmg(Lua_Mob other, int weapon_damage, int skill, int chance_mod); -- void
94
mob:DoMeleeSkillAttackDmg(Lua_Mob other, int weapon_damage, int skill, int chance_mod, int focus); -- void
95
mob:DoMeleeSkillAttackDmg(Lua_Mob other, int weapon_damage, int skill, int chance_mod, int focus, bool can_riposte); -- void
96
mob:DoSpecialAttackDamage(Lua_Mob other, int skill, int max_damage); -- void
97
mob:DoSpecialAttackDamage(Lua_Mob other, int skill, int max_damage, int min_damage); -- void
98
mob:DoSpecialAttackDamage(Lua_Mob other, int skill, int max_damage, int min_damage, int hate_override); -- void
99
mob:DoSpecialAttackDamage(Lua_Mob other, int skill, int max_damage, int min_damage, int hate_override, int reuse_time); -- void
100
mob:DoThrowingAttackDmg(Lua_Mob other); -- void
101
mob:DoThrowingAttackDmg(Lua_Mob other, Lua_ItemInst range_weapon); -- void
102
mob:DoThrowingAttackDmg(Lua_Mob other, Lua_ItemInst range_weapon, Lua_Item item); -- void
103
mob:DoThrowingAttackDmg(Lua_Mob other, Lua_ItemInst range_weapon, Lua_Item item, int weapon_damage); -- void
104
mob:DoThrowingAttackDmg(Lua_Mob other, Lua_ItemInst range_weapon, Lua_Item item, int weapon_damage, int chance_mod); -- void
105
mob:DoThrowingAttackDmg(Lua_Mob other, Lua_ItemInst range_weapon, Lua_Item item, int weapon_damage, int chance_mod,; -- void
106
mob:DoubleAggro(Lua_Mob other); -- void
107
mob:Emote(const char *message); -- void
108
mob:EntityVariableExists(const char *name); -- bool
109
mob:FaceTarget(Lua_Mob target); -- void
110
mob:FindBuff(int spell_id); -- bool
111
mob:FindBuffBySlot(int slot); -- uint16
112
mob:FindGroundZ(double x, double y); -- double
113
mob:FindGroundZ(double x, double y, double z); -- double
114
mob:FindType(int type); -- bool
115
mob:FindType(int type, bool offensive); -- bool
116
mob:FindType(int type, bool offensive, int threshold); -- bool
117
mob:GMMove(double x, double y, double z); -- void
118
mob:GMMove(double x, double y, double z, double heading); -- void
119
mob:GMMove(double x, double y, double z, double heading, bool send_update); -- void
120
mob:Gate(); -- void
121
mob:GetAA(int id); -- int
122
mob:GetAABonuses(); -- Lua_StatBonuses
123
mob:GetAAByAAID(int id); -- int
124
mob:GetAC(); -- int
125
mob:GetAGI(); -- int
126
mob:GetATK(); -- int
127
mob:GetAggroRange(); -- float
128
mob:GetAllowBeneficial(); -- bool
129
mob:GetAppearance(); -- uint32
130
mob:GetAssistRange(); -- float
131
mob:GetBaseGender(); -- int
132
mob:GetBaseRace(); -- int
133
mob:GetBaseSize(); -- float
134
mob:GetBeard(); -- int
135
mob:GetBeardColor(); -- int
136
mob:GetBodyType(); -- int
137
mob:GetBuffSlotFromType(int slot); -- int
138
mob:GetCHA(); -- int
139
mob:GetCR(); -- int
140
mob:GetCasterLevel(int spell_id); -- int
141
mob:GetClass(); -- int
142
mob:GetCorruption(); -- int
143
mob:GetDEX(); -- int
144
mob:GetDR(); -- int
145
mob:GetDamageAmount(Lua_Mob target); -- uint32
146
mob:GetDeity(); -- int
147
mob:GetDrakkinDetails(); -- int
148
mob:GetDrakkinHeritage(); -- int
149
mob:GetDrakkinTattoo(); -- int
150
mob:GetEyeColor1(); -- int
151
mob:GetEyeColor2(); -- int
152
mob:GetFR(); -- int
153
mob:GetFcDamageAmtIncoming(Lua_Mob caster, uint32 spell_id, bool use_skill, uint16 skill); -- int
154
mob:GetFlurryChance(); -- int
155
mob:GetGender(); -- int
156
mob:GetGlobal(const char *varname); -- std::string
157
mob:GetHP(); -- int
158
mob:GetHPRatio(); -- double
159
mob:GetHairColor(); -- int
160
mob:GetHairStyle(); -- int
161
mob:GetHandToHandDamage(); -- int
162
mob:GetHandToHandDelay(); -- int
163
mob:GetHaste(); -- int
164
mob:GetHateAmount(Lua_Mob target); -- uint32
165
mob:GetHateAmount(Lua_Mob target, bool is_damage); -- uint32
166
mob:GetHateDamageTop(Lua_Mob other); -- Lua_Mob
167
mob:GetHateList(); -- Lua_HateList
168
mob:GetHateRandom(); -- Lua_Mob
169
mob:GetHateTop(); -- Lua_Mob
170
mob:GetHeading(); -- double
171
mob:GetHelmTexture(); -- int
172
mob:GetHerosForgeModel(uint8 material_slot); -- uint32
173
mob:GetINT(); -- int
174
mob:GetInvul(); -- bool
175
mob:GetItemBonuses(); -- Lua_StatBonuses
176
mob:GetItemHPBonuses(); -- int
177
mob:GetItemStat(uint32 itemid, const char* identifier); -- int
178
mob:GetLevel(); -- int
179
mob:GetLevelCon(int my, int other); -- uint32
180
mob:GetLevelCon(int other); -- uint32
181
mob:GetLuclinFace(); -- int
182
mob:GetMR(); -- int
183
mob:GetMana(); -- int
184
mob:GetManaRatio(); -- double
185
mob:GetMaxAGI(); -- int
186
mob:GetMaxCHA(); -- int
187
mob:GetMaxDEX(); -- int
188
mob:GetMaxHP(); -- int
189
mob:GetMaxINT(); -- int
190
mob:GetMaxMana(); -- int
191
mob:GetMaxSTA(); -- int
192
mob:GetMaxSTR(); -- int
193
mob:GetMaxWIS(); -- int
194
mob:GetMeleeDamageMod_SE(uint16 skill); -- int16
195
mob:GetMeleeMinDamageMod_SE(uint16 skill); -- int16
196
mob:GetMeleeMitigation(); -- int32
197
mob:GetModSkillDmgTaken(int skill); -- int
198
mob:GetModVulnerability(int resist); -- int
199
mob:GetNPCTypeID(); -- int
200
mob:GetNimbusEffect1(); -- uint8
201
mob:GetNimbusEffect2(); -- uint8
202
mob:GetNimbusEffect3(); -- uint8
203
mob:GetOrigBodyType(); -- int
204
mob:GetOwner(); -- Lua_Mob
205
mob:GetPR(); -- int
206
mob:GetPet(); -- Lua_Mob
207
mob:GetPetOrder(); -- int
208
mob:GetPhR(); -- int
209
mob:GetRace(); -- int
210
mob:GetResist(int type); -- int
211
mob:GetReverseFactionCon(Lua_Mob other); -- int
212
mob:GetRunspeed(); -- double
213
mob:GetSTA(); -- int
214
mob:GetSTR(); -- int
215
mob:GetSize(); -- double
216
mob:GetSkill(int skill); -- int
217
mob:GetSkillDmgAmt(uint16 skill); -- int
218
mob:GetSkillDmgTaken(int skill); -- int
219
mob:GetSpecialAbility(int ability); -- int
220
mob:GetSpecialAbilityParam(int ability, int param); -- int
221
mob:GetSpecializeSkillValue(int spell_id); -- int
222
mob:GetSpellBonuses(); -- Lua_StatBonuses
223
mob:GetSpellHPBonuses(); -- int
224
mob:GetTarget(); -- Lua_Mob
225
mob:GetTexture(); -- int
226
mob:GetWIS(); -- int
227
mob:GetWalkspeed(); -- double
228
mob:GetWaypointH(); -- double
229
mob:GetWaypointID(); -- int
230
mob:GetWaypointPause(); -- double
231
mob:GetWaypointX(); -- double
232
mob:GetWaypointY(); -- double
233
mob:GetWaypointZ(); -- double
234
mob:GetWeaponDamage(Lua_Mob against, Lua_ItemInst weapon); -- int
235
mob:GetWeaponDamageBonus(Lua_Item weapon, bool offhand); -- int
236
mob:GetX(); -- double
237
mob:GetY(); -- double
238
mob:GetZ(); -- double
239
mob:GotoBind(); -- void
240
mob:HalveAggro(Lua_Mob other); -- void
241
mob:HasNPCSpecialAtk(const char *parse); -- bool
242
mob:HasOwner(); -- bool
243
mob:HasPet(); -- bool
244
mob:HasProcs(); -- bool
245
mob:HasShieldEquiped(); -- bool
246
mob:HasTwoHandBluntEquiped(); -- bool
247
mob:HasTwoHanderEquipped(); -- bool
248
mob:Heal(); -- void
249
mob:HealDamage(uint32 amount); -- void
250
mob:HealDamage(uint32 amount, Lua_Mob other); -- void
251
mob:InterruptSpell(); -- void
252
mob:InterruptSpell(int spell_id); -- void
253
mob:IsAIControlled(); -- bool
254
mob:IsAmnesiad(); -- bool
255
mob:IsAttackAllowed(Lua_Mob target, bool isSpellAttack); -- bool
256
mob:IsBeneficialAllowed(Lua_Mob target); -- bool
257
mob:IsBerserk(); -- bool
258
mob:IsBlind(); -- bool
259
mob:IsCasting(); -- bool
260
mob:IsEliteMaterialItem(uint8 material_slot); -- uint32
261
mob:IsEngaged(); -- bool
262
mob:IsEnraged(); -- bool
263
mob:IsFeared(); -- bool
264
mob:IsImmuneToSpell(int spell_id, Lua_Mob caster); -- bool
265
mob:IsInvisible(); -- bool
266
mob:IsInvisible(Lua_Mob other); -- bool
267
mob:IsMeleeDisabled(); -- bool
268
mob:IsMezzed(); -- bool
269
mob:IsMoving(); -- bool
270
mob:IsPet(); -- bool
271
mob:IsRoamer(); -- bool
272
mob:IsRooted(); -- bool
273
mob:IsRunning(); -- bool
274
mob:IsSilenced(); -- bool
275
mob:IsStunned(); -- bool
276
mob:IsTargetable(); -- bool
277
mob:IsTargeted(); -- bool
278
mob:IsWarriorClass(); -- bool
279
mob:Kill(); -- void
280
mob:Mesmerize(); -- void
281
mob:Message(int type, const char *message); -- void
282
mob:MessageString(int type, int string_id, uint32 distance); -- void
283
mob:ModSkillDmgTaken(int skill, int value); -- void
284
mob:ModVulnerability(int resist, int value); -- void
285
mob:NPCSpecialAttacks(const char *parse, int perm); -- void
286
mob:NPCSpecialAttacks(const char *parse, int perm, bool reset); -- void
287
mob:NPCSpecialAttacks(const char *parse, int perm, bool reset, bool remove); -- void
288
mob:NavigateTo(double x, double y, double z); -- void
289
mob:ProcessSpecialAbilities(std::string str); -- void
290
mob:ProjectileAnimation(Lua_Mob to, int item_id); -- void
291
mob:ProjectileAnimation(Lua_Mob to, int item_id, bool is_arrow); -- void
292
mob:ProjectileAnimation(Lua_Mob to, int item_id, bool is_arrow, double speed); -- void
293
mob:ProjectileAnimation(Lua_Mob to, int item_id, bool is_arrow, double speed, double angle); -- void
294
mob:ProjectileAnimation(Lua_Mob to, int item_id, bool is_arrow, double speed, double angle, double tilt); -- void
295
mob:ProjectileAnimation(Lua_Mob to, int item_id, bool is_arrow, double speed, double angle, double tilt, double arc); -- void
296
mob:QuestSay(Lua_Client client, const char *message); -- void
297
mob:RandomizeFeatures(bool send_illusion, bool save_variables); -- void
298
mob:RangedAttack(Lua_Mob other); -- void
299
mob:RemoveNimbusEffect(int effect_id); -- void
300
mob:ResistSpell(int resist_type, int spell_id, Lua_Mob caster); -- double
301
mob:ResistSpell(int resist_type, int spell_id, Lua_Mob caster, bool use_resist_override); -- double
302
mob:ResistSpell(int resist_type, int spell_id, Lua_Mob caster, bool use_resist_override, int resist_override); -- double
303
mob:ResistSpell(int resist_type, int spell_id, Lua_Mob caster, bool use_resist_override, int resist_override,; -- double
304
mob:RunTo(double x, double y, double z); -- void
305
mob:Say(const char *message); -- void
306
mob:Say(const char* message, int language); -- void
307
mob:SeeHide(); -- bool
308
mob:SeeImprovedHide(); -- bool
309
mob:SeeInvisible(); -- uint8
310
mob:SeeInvisibleUndead(); -- bool
311
mob:SendAppearanceEffect(uint32 parm1, uint32 parm2, uint32 parm3, uint32 parm4, uint32 parm5); -- void
312
mob:SendAppearanceEffect(uint32 parm1, uint32 parm2, uint32 parm3, uint32 parm4, uint32 parm5, Lua_Client specific_target); -- void
313
mob:SendBeginCast(int spell_id, int cast_time); -- void
314
mob:SendSpellEffect(uint32 effect_id, uint32 duration, uint32 finish_delay, bool zone_wide, uint32 unk020); -- void
315
mob:SendSpellEffect(uint32 effect_id, uint32 duration, uint32 finish_delay, bool zone_wide, uint32 unk020, bool perm_effect); -- void
316
mob:SendSpellEffect(uint32 effect_id, uint32 duration, uint32 finish_delay, bool zone_wide, uint32 unk020, bool perm_effect,; -- void
317
mob:SendTo(double x, double y, double z); -- void
318
mob:SendToFixZ(double x, double y, double z); -- void
319
mob:SendWearChange(int material_slot); -- void
320
mob:SetAA(int rank_id, int new_value); -- bool
321
mob:SetAA(int rank_id, int new_value, int charges); -- bool
322
mob:SetAllowBeneficial(bool value); -- void
323
mob:SetAppearance(int app); -- void
324
mob:SetAppearance(int app, bool ignore_self); -- void
325
mob:SetBodyType(int new_body, bool overwrite_orig); -- void
326
mob:SetCurrentWP(int wp); -- void
327
mob:SetDestructibleObject(bool set); -- void
328
mob:SetDisableMelee(bool disable); -- void
329
mob:SetEntityVariable(const char *name, const char *value); -- void
330
mob:SetExtraHaste(int haste); -- void
331
mob:SetFlurryChance(int value); -- void
332
mob:SetFlyMode(int in); -- void
333
mob:SetGender(int in); -- void
334
mob:SetGlobal(const char *varname, const char *newvalue, int options, const char *duration); -- void
335
mob:SetGlobal(const char *varname, const char *newvalue, int options, const char *duration, Lua_Mob other); -- void
336
mob:SetHP(int hp); -- void
337
mob:SetHate(Lua_Mob other); -- void
338
mob:SetHate(Lua_Mob other, int hate); -- void
339
mob:SetHate(Lua_Mob other, int hate, int damage); -- void
340
mob:SetHeading(double in); -- void
341
mob:SetInvisible(int state); -- void
342
mob:SetInvul(bool value); -- void
343
mob:SetLevel(int level); -- void
344
mob:SetLevel(int level, bool command); -- void
345
mob:SetMana(int mana); -- int
346
mob:SetOOCRegen(int regen); -- void
347
mob:SetPetOrder(int order); -- void
348
mob:SetPseudoRoot(bool in); -- void
349
mob:SetRace(int in); -- void
350
mob:SetRunning(bool running); -- void
351
mob:SetSlotTint(int material_slot, int red_tint, int green_tint, int blue_tint); -- void
352
mob:SetSpecialAbility(int ability, int level); -- void
353
mob:SetSpecialAbilityParam(int ability, int param, int value); -- void
354
mob:SetTarget(Lua_Mob t); -- void
355
mob:SetTargetable(bool on); -- void
356
mob:SetTexture(int in); -- void
357
mob:Shout(const char *message); -- void
358
mob:Shout(const char* message, int language); -- void
359
mob:Signal(uint32 id); -- void
360
mob:SpellEffect(Lua_Mob caster, int spell_id, double partial); -- void
361
mob:SpellFinished(int spell_id, Lua_Mob target); -- bool
362
mob:SpellFinished(int spell_id, Lua_Mob target, int slot); -- bool
363
mob:SpellFinished(int spell_id, Lua_Mob target, int slot, int mana_used); -- bool
364
mob:SpellFinished(int spell_id, Lua_Mob target, int slot, int mana_used, uint32 inventory_slot); -- bool
365
mob:SpellFinished(int spell_id, Lua_Mob target, int slot, int mana_used, uint32 inventory_slot, int resist_adjust); -- bool
366
mob:SpellFinished(int spell_id, Lua_Mob target, int slot, int mana_used, uint32 inventory_slot, int resist_adjust, bool proc); -- bool
367
mob:Spin(); -- void
368
mob:StopNavigation(); -- void
369
mob:Stun(int duration); -- void
370
mob:TarGlobal(const char *varname, const char *value, const char *duration, int npc_id, int char_id, int zone_id); -- void
371
mob:TempName(); -- void
372
mob:TempName(const char *newname); -- void
373
mob:ThrowingAttack(Lua_Mob other); -- void
374
mob:TryFinishingBlow(Lua_Mob defender, int &damage); -- bool
375
mob:TryMoveAlong(float distance, float angle); -- void
376
mob:TryMoveAlong(float distance, float angle, bool send); -- void
377
mob:UnStun(); -- void
378
mob:WalkTo(double x, double y, double z); -- void
379
mob:WearChange(int material_slot, int texture, uint32 color); -- void
380
mob:WipeHateList(); -- void
Copied!
Last modified 1yr ago
Copy link