What did you write?
Does it cause the HP to increase?
in Pokebattle_Pokemon:
# Returns the maximum HP of this Pokmon.
def calcHP(base,level,iv,ev)
return 1 if base==1
return ((base*2+iv+(ev>>2))*level/100).floor+level+10
if isConst?(self.species,PBSpecies,:DUSKNOIR) &&
self.hasWorkingItem(:REAPERCLOTH)
return ((((base*2+iv+(ev>>2))*level/100)+level+10)*1.3).floor
end
end
edit: I tried rearranging the script so that dusknoir's code happens before the normal calculation:
# Returns the maximum HP of this Pokmon.
def calcHP(base,level,iv,ev)
return 1 if base==1
return ((((base*2+iv+(ev>>2))*level/100)+level+10)*1.3).floor if isConst?(self.species,PBSpecies,:DUSKNOIR) &&
self.hasWorkingItem(:REAPERCLOTH)
return ((base*2+iv+(ev>>2))*level/100).floor+level+10
end
but it still doesn't change.
It so far is not changing HP at all, I'm assuming it's because equipping items isn't calling calcStats. Maybe I messed up somewhere else, idk