mNo edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
− | {{incomplete|verify cutoff for this vs [[Glazed chicken]]}} |
+ | {{incomplete|verify healing value and cutoff for this vs [[Glazed chicken]]}} |
{{Infobox Item |
{{Infobox Item |
||
Line 21: | Line 21: | ||
|id = 40133 |
|id = 40133 |
||
}} |
}} |
||
− | '''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. |
+ | '''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. It heals up to 25 life points; no equivalent foods outside of Shattered Worlds. |
{{Food calculator|base=1}} |
{{Food calculator|base=1}} |
Revision as of 01:23, 10 August 2018
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. It heals up to 25 life points; no equivalent foods outside of Shattered Worlds.
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.")
}