Implementing Poison in Stendhal: Difference between revisions

Content deleted Content added
imported>Richgar
I posted my formula for calculating the chance of inflicting poison. I'm hoping poisoned weapons will be a new feature sometime.
imported>Richgar
Line 65:
'''[1-0.625/(Weapon*Poison)]*√(Weapon/6)*[DamageTaken/DefenderHP-(DamageTaken/DefenderHP)^2]^(1/15)''' where the Weapon and Poison values are:
'''Club 1.25; Axe 2; Sword 3; Arrow 6; Dagger 7; || Regular Poison 0.5; Greater 1.5; Deadly 2.5; Disease 4; Mega 9;'''
The weapon values are based on the weapon's penetration and the poison values are based on the approximate strength. Regular poison is ineffective on club type weapons and all poisons are most effective with daggers. DamageTaken is the damage the defender takes from the melee hit (taken). DefenderHP is the health of the defender before the hit (similar to tempHP). The second part in brackets represents a downward parabola. So if no damage is taken, i.e. miss or block, or if the enemy is killed in one strike, there is no chance of inflicting poison. The greatest chance of inflicting poison is by using a dagger with mega poison and inflicting a devastating wound that halves the enemy's hp. - Richgar
 
==Resolutions==