Prevent nonintelligent monsters such as slimes from being charmed.

For now, constructs like golems are still affected, but that may also be something to consider changing in the future.
This change prevents charm monster from affecting these monsters, as well as singing and oratory.
master
SilverNexus 2023-05-01 02:12:02 -04:00
parent cc5ad68d36
commit afa4c7e43d
8 changed files with 24 additions and 0 deletions

View File

@ -1,3 +1,16 @@
Prevent nonintelligent living monsters from being charmable.
This includes acid spheres, slimes, blobs, and some others.
Basically all of these are of race slime.
Mechanically, these monsters don't have a brain, so they logically cannot be charmed.
monster/acid/acidsphere.arc
monster/acid/slimecrawler/slimecrawler.arc
monster/acid/bpudding.arc
monster/acid/greenslime.arc
monster/acid/slime.arc
monster/misc/blob.arc
monster/misc/firechest.arc
Daniel Hawkins 2023-05-01
Add one_hit to magic missile.
For server version a763845fa3 or later, this will prevent magic missiles from
having a magic-bullet-like piercing effect when they overkill enemies. For

View File

@ -38,4 +38,7 @@ speed 0.01
anim_speed 1
exp 100
one_hit 1
# It's literally a blob of acid.
# Charming it would require it to have intellect
no_mood_change 1
end

View File

@ -26,6 +26,7 @@ attacktype 64
resist_fire -100
resist_blind 100
hitback 1
no_mood_change 1
end
Object black_pudding_grow
name black pudding
@ -50,6 +51,7 @@ level 7
attacktype 64
resist_fire -100
hitback 1
no_mood_change 1
end
Object black_pudding_split
name black pudding
@ -74,4 +76,5 @@ level 7
attacktype 64
resist_fire -100
hitback 1
no_mood_change 1
end

View File

@ -21,4 +21,5 @@ attacktype 64
hitback 1
hp 40
maxhp 40
no_mood_change 1
end

View File

@ -28,4 +28,5 @@ maxhp 5
level 1
speed 0.06
weight 20000
no_mood_change 1
end

View File

@ -30,4 +30,5 @@ resist_cold 50
resist_physical 40
resist_acid 90
resist_blind 80
no_mood_change 1
end

View File

@ -27,4 +27,5 @@ weight 50000
run_away 100
pick_up 64
attacktype 1
no_mood_change 1
end

View File

@ -12,4 +12,5 @@ level 1
no_pick 1
resist_fire 100
direction 0
no_mood_change 1
end