m (+) Tag: sourceedit |
m (→top: adding template) |
||
Line 1: | Line 1: | ||
{{incomplete|verify cutoff for this vs [[Glazed chicken]]}} |
{{incomplete|verify cutoff for this vs [[Glazed chicken]]}} |
||
+ | {{Needs dii}} |
||
{{Infobox Item |
{{Infobox Item |
||
|name = Cooked chicken |
|name = Cooked chicken |
Revision as of 16:01, 20 December 2017
Template:Needs dii Cooked chicken is a food item used in Shattered Worlds. It given to participants that use the 'feed me' option when entering the minigame, if their Constitution level is below 10.
The minimum Constitution level to receive the full amount of healing from this food is 1.
Enter your Constitution level | name=skillstat_Constitution_level|type=int|value=1|range=9,99|size=4|sublist=calchealing |
name=healing|type=output |
variables=skillstat_Constitution_level
calchealing|
let(minLevel, 1) let(healAmount, 0) let(healAmountOutOfCombat, 0) let(healOverTimeAmount, 0) let(healOverTimeDuration, 0) let(constitutionLevel, skillstat_Constitution_level)
let(pointsPerLevel, 25) if(healAmount){
let(pointsPerLevel, healAmount / minLevel)
}
if(constitutionLevel < minLevel){
let(heal, constitutionLevel * pointsPerLevel)
}{
let(heal, minLevel * pointsPerLevel)
}
let(heal, floor(heal + 0.000001)) let(healing,"This will heal " + heal + " life points at level " + constitutionLevel + " in combat.")
if(healOverTimeAmount){
let(healing, healing + " It will heal an additional " + healOverTimeAmount + " life points over " + healOverTimeDuration + " seconds.")
}
if(healAmountOutOfCombat){
let(pointsPerLevelOutOfCombat, healAmountOutOfCombat / minLevel) if (constitutionLevel < minLevel){ let(healOutOfCombat, constitutionLevel * pointsPerLevelOutOfCombat) }{ let(healOutOfCombat, minLevel * pointsPerLevelOutOfCombat) } let(healOutOfCombat, floor(healOutOfCombat + 0.000001)) let(healing, healing + " It will heal " + healOutOfCombat + " life points while out of combat.")
}