forked from UNLOZE/sm-plugins
[BossHP] Add boss health percentage display
This commit is contained in:
@@ -15,6 +15,7 @@ methodmap CBoss < Basic
|
||||
myclass.SetBool("bShow", true);
|
||||
myclass.SetInt("iTemplateNum", -1);
|
||||
myclass.SetInt("iHealth", 0);
|
||||
myclass.SetInt("iMaxHealth", 0);
|
||||
myclass.SetInt("iLastChange", 0);
|
||||
myclass.SetFloat("fWaitUntil", 0.0);
|
||||
myclass.SetFloat("fShowAt", 0.0);
|
||||
@@ -95,6 +96,18 @@ methodmap CBoss < Basic
|
||||
}
|
||||
}
|
||||
|
||||
property int iMaxHealth
|
||||
{
|
||||
public get()
|
||||
{
|
||||
return this.GetInt("iMaxHealth");
|
||||
}
|
||||
public set(int value)
|
||||
{
|
||||
this.SetInt("iMaxHealth", value);
|
||||
}
|
||||
}
|
||||
|
||||
property int iLastChange
|
||||
{
|
||||
public get()
|
||||
|
||||
Reference in New Issue
Block a user