forked from UNLOZE/sm-plugins
[BossHP] Allow to "offset" health value.
This commit is contained in:
@@ -33,6 +33,7 @@ methodmap CConfig < Basic
|
||||
myclass.SetBool("bMultiTrigger", false);
|
||||
myclass.SetBool("bNameFixup", false);
|
||||
myclass.SetInt("iTimeout", -1);
|
||||
myclass.SetInt("iOffset", 0);
|
||||
|
||||
return view_as<CConfig>(myclass);
|
||||
}
|
||||
@@ -211,6 +212,18 @@ methodmap CConfig < Basic
|
||||
}
|
||||
}
|
||||
|
||||
property int iOffset
|
||||
{
|
||||
public get()
|
||||
{
|
||||
return this.GetInt("iOffset");
|
||||
}
|
||||
public set(int value)
|
||||
{
|
||||
this.SetInt("iOffset", value);
|
||||
}
|
||||
}
|
||||
|
||||
property bool IsBreakable {
|
||||
public get() {
|
||||
return (this.iMethod == eConfigMethod_Breakable);
|
||||
|
||||
Reference in New Issue
Block a user