H7InstantCommandLearnAbility
Class in MMH7Game · MMH7Game.H7InstantCommandLearnAbility
Object › H7InstantCommandBase › H7InstantCommandLearnAbility
Using it from Lua
h7.find_all("H7InstantCommandLearnAbility") -- live instances
h7.find_class("MMH7Game.H7InstantCommandLearnAbility") -- the class
h7.hook("MMH7Game.H7InstantCommandLearnAbility.CreateMPCommand", fn)
Properties
| Name | Type | Notes |
mAbilityID | string | private |
mForfree | bool | private |
mHero | H7EditorHero | private |
mSkillId | int | private |
Functions
| Name | Declaration |
CreateMPCommand | function MPInstantCommand CreateMPCommand() |
Execute | function Execute() |
GetPlayer | function H7Player GetPlayer() |
Init | function Init(H7EditorHero Hero, int SkillID, string abilityID, optional bool forfree = false) |
InitFromMPData | function InitFromMPData(MPInstantCommand Command) |
Inherited