|
@@ -371,7 +371,7 @@ namespace XmdsCommonServer.Plugin
|
|
|
{
|
|
|
int v = hp;
|
|
|
|
|
|
- this.mUnit.ReduceHP(-v, null, false, null);
|
|
|
+ this.mUnit.ReduceHP(-v, null, null, false, null);
|
|
|
|
|
|
return v;
|
|
|
}
|
|
@@ -430,12 +430,12 @@ namespace XmdsCommonServer.Plugin
|
|
|
|
|
|
public void AddHP(int hp, InstanceUnit sender = null, bool sendMsg = true, DamageSource dmgSrc = DamageSource.Def)
|
|
|
{
|
|
|
- this.mUnit.ReduceHP(-hp, sender, sendMsg, null, false, dmgSrc);
|
|
|
+ this.mUnit.ReduceHP(-hp, sender, null, sendMsg, null, false, dmgSrc);
|
|
|
}
|
|
|
|
|
|
public void AddHP(int hp, InstanceUnit sender, DamageSource dmgSrc)
|
|
|
{
|
|
|
- this.mUnit.ReduceHP(-hp, sender, true, null, false, dmgSrc);
|
|
|
+ this.mUnit.ReduceHP(-hp, sender, null, true, null, false, dmgSrc);
|
|
|
}
|
|
|
|
|
|
|