mclean28 Posted August 27, 2008 Author Share Posted August 27, 2008 Hello this is the last thing i need to figure out can some 1 please explain or show me a pic of a simple scripted spell??many thanksmclean28 Link to comment Share on other sites More sharing options...
monowolf00 Posted August 27, 2008 Share Posted August 27, 2008 Here is a simple berserk script I made.```If GetPlayerMP(index) >= 10 ThenCall SetPlayerStr(index, GetPlayerStr(index) + 20)Call SetPlayerDef(index, GetPlayerDef(index) - 10)Call SetPlayerMagi(index, GetPlayerMagi(index) - 10)Call SetPlayerMP(index, GetPlayerMP(index) - 10)Call SendStats(index)Call SendMP(index)End If``````If GetPlayerMP(index) >= 10 Then```Checks if the player has at least 10 MP```Call SetPlayerStr(index, GetPlayerStr(index) + 20)```Gives the player 20 more strength points.```Call SetPlayerDef(index, GetPlayerDef(index) - 10)Call SetPlayerMagi(index, GetPlayerMagi(index) - 10)Call SetPlayerMP(index, GetPlayerMP(index) - 10)```Takes 10 stat points away from each of the stats.```Call SendStats(index)```Sends the stats to the player.```Call SendMP(index)```Sends the new amount of MP to the player```End If```End the If statement. Link to comment Share on other sites More sharing options...
mclean28 Posted August 28, 2008 Author Share Posted August 28, 2008 what i meant is like a fireball and it would shoot the NPC? Link to comment Share on other sites More sharing options...
Oizumi03 Posted August 28, 2008 Share Posted August 28, 2008 Ya, same concept just a different script.Ask in the scripting forum for where to place and for a script to be placed. Link to comment Share on other sites More sharing options...
Klanz_online Posted September 2, 2008 Share Posted September 2, 2008 i dont think that need scripting, just edit spells make it there o.O Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now