Werewolf: Difference between revisions

1,013 bytes added ,  22 days ago
no edit summary
(Created page with "{{Infobox Monster|img=Werewolf.png|hp=11|points=300}} {{Infobox Entity|entity_pointer=$81:ABF5}} The werewolf is a respawning monster. Category:Respawning monster Category:Monster Category:Entity")
 
No edit summary
Line 1:
{{Infobox Monster|img=Werewolf.png|hp=11|points=300}}
{{Infobox Entity|entity_pointer=$81:ABF5}}
The werewolf is a [[respawning monster]]. Werewolves will only spawn if the level has [[palette fade]] that has completed, though this condition can be bypassed by using $81:ABFB as the entity pointer instead.
The werewolf is a [[respawning monster]].
 
== Behavior ==
 
Werewolves can be in one of three states:
 
* '''Walking:''' Move towards the nearest targetable sprite at an average rate of 1.5 px/frame. Werewolves start in this state.
** If the werewolf is exactly 360 pixels away from the target, then despawn.
** If the werewolf's health has changed, jump in a random diagonal direction a distance of 20-51 pixels on the X axis and 15-46 pixels on the Y axis.
** If the werewolf is between 70 and 344 pixels of the target, then there is a 15/255 (5.88%) chance to jump at the target.
*** If the target is a victim, jump 28 pixels past the target on the X axis.
*** Otherwise, jump 124 pixels past the target on the X axis.
** If the werewolf is less than 4 pixels from the target on the Y axis and less than 29 pixels on the X axis, then attack.
 
{{BPMN_embed|BPMN:Werewolf state diagram}}
 
[[Category:Respawning monster]]