Skip to content

Commit

Permalink
Remove hack's phantom melee (#64027)
Browse files Browse the repository at this point in the history
Removes explosive hacks phantom melee attacks by giving the base_drone the PACIFIST flag while making drones with melee attacks remove the flag. Includes the bloodhound drone from aftershock.
  • Loading branch information
Zephanos authored Mar 7, 2023
1 parent a15868c commit 9f7a0c8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
5 changes: 3 additions & 2 deletions data/json/monsters/drones.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"morale": 100,
"luminance": 5,
"death_function": { "message": "The %s's interior compartment sizzles with destructive energy.", "corpse_type": "BROKEN" },
"flags": [ "SEES", "FLIES", "NOHEAD", "ELECTRONIC", "NO_BREATHE", "INTERIOR_AMMO", "STUN_IMMUNE" ]
"flags": [ "SEES", "FLIES", "NOHEAD", "ELECTRONIC", "NO_BREATHE", "INTERIOR_AMMO", "STUN_IMMUNE", "PACIFIST" ]
},
{
"id": "mon_EMP_hack",
Expand Down Expand Up @@ -109,7 +109,8 @@
"armor_bullet": 6,
"revert_to_itype": "bot_manhack",
"death_function": { "corpse_type": "BROKEN" },
"extend": { "flags": [ "HIT_AND_RUN" ] }
"extend": { "flags": [ "HIT_AND_RUN" ] },
"delete": { "flags": [ "PACIFIST" ] }
},
{
"id": "mon_mininuke_hack",
Expand Down
3 changes: 2 additions & 1 deletion data/mods/Aftershock/mobs/robots.json
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,8 @@
"revert_to_itype": "bot_bloodhound_drone",
"death_drops": { "groups": [ [ "robots", 4 ], [ "manhack", 1 ], [ "turret_searchlight", 1 ] ] },
"death_function": { "corpse_type": "BROKEN" },
"extend": { "flags": [ "HIT_AND_RUN", "SMELLS" ] }
"extend": { "flags": [ "HIT_AND_RUN", "SMELLS" ] },
"delete": { "flags": [ "PACIFIST" ] }
},
{
"id": "mon_utilibot",
Expand Down

0 comments on commit 9f7a0c8

Please sign in to comment.