mirror of
https://github.com/tbamud/tbamud.git
synced 2026-04-05 11:57:19 +02:00
Migrate to 5e saving throws
This commit is contained in:
parent
19682f5b58
commit
7c9e1ea2fd
16 changed files with 297 additions and 788 deletions
|
|
@ -143,7 +143,7 @@ ASPELL(spell_summon)
|
|||
}
|
||||
|
||||
if (MOB_FLAGGED(victim, MOB_NOSUMMON) ||
|
||||
(IS_NPC(victim) && mag_savingthrow(victim, SAVING_SPELL, 0))) {
|
||||
(IS_NPC(victim) && mag_savingthrow(victim, SAVING_CHA, 0))) {
|
||||
send_to_char(ch, "%s", SUMMON_FAIL);
|
||||
return;
|
||||
}
|
||||
|
|
@ -269,7 +269,7 @@ ASPELL(spell_charm)
|
|||
send_to_char(ch, "You fail - shouldn't be doing it anyway.\r\n");
|
||||
else if (circle_follow(victim, ch))
|
||||
send_to_char(ch, "Sorry, following in circles is not allowed.\r\n");
|
||||
else if (mag_savingthrow(victim, SAVING_PARA, 0))
|
||||
else if (mag_savingthrow(victim, SAVING_WIS, 0))
|
||||
send_to_char(ch, "Your victim resists!\r\n");
|
||||
else {
|
||||
if (victim->master)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue