尝试修改丢text的情况
This commit is contained in:
@@ -10,7 +10,7 @@ namespace Continentis.Mods.Basic.Buffs
|
||||
public KnifeTrick(int stack)
|
||||
{
|
||||
Initialize(BuffType.Positive, BuffDispelLevel.Strong);
|
||||
this.contentSubmodule = new ContentSubmodule(this, false)
|
||||
this.contentSubmodule = new ContentSubmodule(this)
|
||||
.AddParameterGetter("Stack", () => unitedStackSubmodule.stackAmount.ToString());
|
||||
this.iconSubmodule = new IconSubmodule(this);
|
||||
this.unitedStackSubmodule = new UnitedStackSubmodule(this, stack);
|
||||
@@ -20,8 +20,6 @@ namespace Continentis.Mods.Basic.Buffs
|
||||
{
|
||||
if (buff is Sharpness)
|
||||
{
|
||||
Debug.Log("Knife Trick observed Sharpness buff removal, adding new Sharpness buff.");
|
||||
Debug.Log("Stack amount: " + unitedStackSubmodule.stackAmount);
|
||||
CreateCharacterBuff<Sharpness>(unitedStackSubmodule.stackAmount).Apply(attachedCharacter, attachedCharacter);
|
||||
}
|
||||
}));
|
||||
@@ -33,8 +31,6 @@ namespace Continentis.Mods.Basic.Buffs
|
||||
if (FindExistingSameBuff(out existingBuff))
|
||||
{
|
||||
existingBuff.unitedStackSubmodule.ModifyStack(this.unitedStackSubmodule.stackAmount);
|
||||
int newStack = existingBuff.unitedStackSubmodule.stackAmount;
|
||||
existingBuff.coreAttributeSubmodule.numericChange["DodgeChanceOffset"] = newStack;
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
|
||||
@@ -152,7 +152,7 @@ MonoBehaviour:
|
||||
index: 22
|
||||
isKeyDuplicated: 0
|
||||
- Key: Speed
|
||||
Value: 99
|
||||
Value: 0
|
||||
index: 23
|
||||
isKeyDuplicated: 0
|
||||
- Key: LifeStealMultiplier
|
||||
|
||||
Reference in New Issue
Block a user