Editing CTFSpellBook

Jump to navigation Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.

Latest revision Your text
Line 55: Line 55:
|-
|-
|It is possible to change this value to change the spell in the spellbook, however there is an important aspect of the functionality of spellbooks to know before using this SendProp. If the spellbook displays the No Spell hud icon, changing the spell through this SendProp will not do anything. This is because m_iSpellCharges is currently 0. For the spell change to take effect, you must also give the spell some charges by setting m_iSpellCharges to something greater than 0.
|It is possible to change this value to change the spell in the spellbook, however there is an important aspect of the functionality of spellbooks to know before using this SendProp. If the spellbook displays the No Spell hud icon, changing the spell through this SendProp will not do anything. This is because m_iSpellCharges is currently 0. For the spell change to take effect, you must also give the spell some charges by setting m_iSpellCharges to something greater than 0.
It should also be noted that using up all the charges in a spellbook simply sets m_iSpellCharges to 0, the selected spell is not changed. If you need more spells, all you have to do is set m_iSpellCharges.
|}
|}
|-
|-
Please note that all contributions to SigMod are considered to be released under the Creative Commons Attribution-NonCommercial-ShareAlike (see SigMod:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!
Cancel Editing help (opens in new window)