forked from UNLOZE/sm-plugins
BossHP: Add second version of damage callback.
Not fully finished yet trough.
This commit is contained in:
@@ -28,6 +28,8 @@ methodmap CConfig < Basic
|
||||
myclass.SetString("sKillTrigger", "");
|
||||
myclass.SetString("sKillOutput", "");
|
||||
myclass.SetFloat("fKillTriggerDelay", 0.0);
|
||||
myclass.SetString("sHurtTrigger", "");
|
||||
myclass.SetString("sHurtOutput", "");
|
||||
myclass.SetBool("bMultiTrigger", false);
|
||||
myclass.SetBool("bNameFixup", false);
|
||||
myclass.SetInt("iTimeout", -1);
|
||||
@@ -153,6 +155,26 @@ methodmap CConfig < Basic
|
||||
}
|
||||
}
|
||||
|
||||
public bool GetHurtTrigger(char[] buffer, int length)
|
||||
{
|
||||
return this.GetString("sHurtTrigger", buffer, length);
|
||||
}
|
||||
|
||||
public void SetHurtTrigger(const char[] buffer)
|
||||
{
|
||||
this.SetString("sHurtTrigger", buffer);
|
||||
}
|
||||
|
||||
public bool GetHurtOutput(char[] buffer, int length)
|
||||
{
|
||||
return this.GetString("sHurtOutput", buffer, length);
|
||||
}
|
||||
|
||||
public void SetHurtOutput(const char[] buffer)
|
||||
{
|
||||
this.SetString("sHurtOutput", buffer);
|
||||
}
|
||||
|
||||
property bool bMultiTrigger
|
||||
{
|
||||
public get()
|
||||
@@ -189,9 +211,6 @@ methodmap CConfig < Basic
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
property bool IsBreakable {
|
||||
public get() {
|
||||
return (this.iMethod == eConfigMethod_Breakable);
|
||||
|
||||
Reference in New Issue
Block a user