Date: 2013/11/13 18:16:50 UTC-08:00
Type: Denizen Script
OnZombieKill:
type: world
events:
on player kills zombie:
- define pl <context.damager>
- flag %pl% ZombieKillStreak:++ duration:10s
- if <%pl%.flag[ZombieKillStreak]> == 5 {
- narrate target:%pl% "<&b>You feel the rush!"
- cast regeneration duration:5s power:1 %pl%
}
else if <%pl%.flag[ZombieKillStreak]> == 10 {
- narrate target:%pl% "<&b>You can't be stopped!"
- cast regeneration duration:5s power:2 %pl%
}
else if <%pl%.flag[ZombieKillStreak]> == 15 {
- announce "<&b><%pl%.name> is unbeatable!"
- cast regeneration duration:15s power:2 %pl%
}