modding:xml:power
Summary
- <Power>
- name=
- attributes=
- key=
- <OnShow>. Determines whether the player can attempt to invoke this power.
- Code
- Return
- True:
- Nil:
- <OnInvokedByPlayer>. Determines whether the player's attempt to invoke this power will be successful.
- Code
- Return
- True: Fires <OnInvoke>
- Nil:
- <OnInvoke>
- Code
- <OnDestroyCheck>. Does not fire any other events
- Code
- Return
- True: Player is destroyed
- Nil: Player survives
modding/xml/power.txt · Last modified: 2017/02/12 07:08 by 0xabcdef