Paste #11098: Diff note for paste #11097

Date: 2014/11/08 16:51:15 UTC-05:00
Type: Diff Report

View Raw Paste Download This Paste
Copy Link


 sewerbandit:
     type: assignment
     actions:
         on attack:
             - if <npc.flag[talkcool]> != 1 run talkclose
         on death:
             - flag npc "deathloc:<npc.location>"
             - run normaldrop
             - run sewerdrop 
         on hit:          
             - narrate "<npc.name>"
             - if <npc.flag[lowhpcheck]> != 1 && <player.health.percentage> < 25 run playerlowhealth
 
-hungrytalkclose:
+talkclose:
     type: task            
     Script:
         - flag npc "talkcool:1" duration:15
         - random 2
         - chat "Ah, another person to rob"
         - chat "Prepare for your death. <player.name>!"
 playerlowhealth:
     type: task            
     Script:
         - flag npc "lowhpcheck:1" duration:15
         - random 2
         - chat "Your <player.item_in_hand.display><green> won't save you now, <player.name>!"
         - chat "You will be dead in no time"