I tryed to use this script and it all works for me except threat caused by skills, the second part works the threat removed by skills but i cant create a taunt move because no skills will create any threat, i have tryed typing [100, -10] [+100, -10] both wont work. Also healing moves dont cause threat and they dont even work to remove it. could anyone tell me what im doing wrong?
i have kept trying and i really cant get healing spells to cause threat is that even possible, i have made taunt work by setting threat damage to false and i kind of understand why it doesn't work with it set to true but i really need a way around this because i want the threat to be based on damage done but for certain moves to do set amounts of threat and healing to do this as well.
also a (threat = ) on skills would be good so you can use a skill to set threat at a set amount no matter what it currently is.
i sorted the problem of heals not doing set threat by tweaking the script very slowly because its the first time ive touched it :p
#--------------------------------------------------------------------------
# * Skill Threat
#--------------------------------------------------------------------------
alias skill_effect_threat skill_effect
def skill_effect(user, skill)
result = skill_effect_threat(user, skill)
threat =
user.is_a?(Game_Actor) && ThreatConfig.get_skill_threat(
skill.id)
if threat &&
damage.is_a?(Numeric) && damage > -9999
user_threat, party_threat = threat[0], threat[1]
for actor in $game_party.actors
threat_plus =
actor.id ==
user.id ? user_threat : party_threat
actor.threat += threat_plus
end
if ThreatConfig::THREAT_BY_DAMAGE
user.threat -= user_threat
user.threat += self.damage
end
end
return result
end
end