JediMud>Vincedq m →Example |
m 1 revision imported |
(No difference)
| |
Latest revision as of 00:03, 17 January 2025
SEREN
SERENITY is a new MOB / OBJECT affect that will reduce total damage to a mob by 5% of the SEREN value.
Here is the code snippet:
// Add Victim's Serenity
if (victim->real_abils.serenity >= 1) {
add_dam = victim->real_abils.serenity * .05;
dam -= add_dam;
Example
For example, a mob's SEREN value is 100. Therefore, the mob will suffer a (100 * 5%, or -5) damage reduction per melee round.
The opposite of SERENITY is INTENSITY.
