The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
||||
|
||||
![]()
the modifyer system is complete, here is the basic format of the modifyer system as well as a screen shot of the elixer item being used.
PHP Code:
in this example of the elixer modifyer of 22 the first part ensures that the item is removed from the equiment as it is being used in battle. it also verifies the user has that item making sure that he/she does not fake out the browser via url queries. the 2nd part is the actual proccess of the item. $playernewhp = $playerhpmax; (assigns the new value for hp to be the max amount of hp for that character, basicaly filling up his/her hp) $playernewmp = $playermpmax; (same as last line eccept for mp) $effect = "$playername\'s hp and mp is filled up"; (gives the text for the item description, so that it will say the item used then a short description of what it did. In this example it says the users's hp and mp are filled up.) thats all there is to makeing a modifyer. They are pretty simple file edits which are on the file called rpgmodifyers.php kept in the admin folder. in the screenshot it shows the item elixer being used. |
![]() |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|