Ninja Posted September 26, 2015 Group: Members Topic Count: 54 Topics Per Day: 0.01 Content Count: 513 Reputation: 84 Joined: 08/11/12 Last Seen: July 4, 2024 Share Posted September 26, 2015 (edited) Is there a way to give bonus stats even without equipping an item or having an item in your inventory? like: OnPCLoginEvent: bonus bStr, 100; Though this doesn't work at all. Edited September 26, 2015 by jezznar Quote Link to comment Share on other sites More sharing options...
Stolao Posted September 26, 2015 Group: Developer Topic Count: 48 Topics Per Day: 0.01 Content Count: 1443 Reputation: 344 Joined: 10/17/12 Last Seen: Friday at 04:48 PM Share Posted September 26, 2015 OnPcCalcEvent: like in this https://github.com/Stolao/Npc_Release/tree/master/Weapon_Mastery Quote Link to comment Share on other sites More sharing options...
Ninja Posted September 27, 2015 Group: Members Topic Count: 54 Topics Per Day: 0.01 Content Count: 513 Reputation: 84 Joined: 08/11/12 Last Seen: July 4, 2024 Author Share Posted September 27, 2015 Worked. Thanks @Stolao is there such a thing that takes off bonuses in just bonus command? Quote Link to comment Share on other sites More sharing options...
Stolao Posted September 27, 2015 Group: Developer Topic Count: 48 Topics Per Day: 0.01 Content Count: 1443 Reputation: 344 Joined: 10/17/12 Last Seen: Friday at 04:48 PM Share Posted September 27, 2015 Worked. Thanks @Stolao is there such a thing that takes off bonuses in just bonus command? Explain your thought, I don't understand the question. Quote Link to comment Share on other sites More sharing options...
Emistry Posted September 27, 2015 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2370 Joined: 10/28/11 Last Seen: 5 hours ago Share Posted September 27, 2015 OnPCStatCalcEvent: bonus bStr,1; bonus bAgi,1; bonus bDex,1; end; 1 Quote Link to comment Share on other sites More sharing options...
Ninja Posted September 27, 2015 Group: Members Topic Count: 54 Topics Per Day: 0.01 Content Count: 513 Reputation: 84 Joined: 08/11/12 Last Seen: July 4, 2024 Author Share Posted September 27, 2015 (edited) @Emistrt thanks man. @Stolao like this case OnPCStatCalcEvent: bonus bStr,1; bonus bAgi,1; bonus bDex,1; end; How do you cancel it with just 1 script command? I Think bonus bAllStat, 0 Will solve it, but how about other bonuses such as those race-exclusive ones and size modifiers?All in all is there a command that cancels everything like "bonus bCancelAll" or something? Edited September 27, 2015 by jezznar Quote Link to comment Share on other sites More sharing options...
Emistry Posted September 27, 2015 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2370 Joined: 10/28/11 Last Seen: 5 hours ago Share Posted September 27, 2015 just set the condition under the OnPCStatCalcEvent Quote Link to comment Share on other sites More sharing options...
Ninja Posted September 27, 2015 Group: Members Topic Count: 54 Topics Per Day: 0.01 Content Count: 513 Reputation: 84 Joined: 08/11/12 Last Seen: July 4, 2024 Author Share Posted September 27, 2015 just set the condition under the OnPCStatCalcEvent Can you explain further? The wikilink you sent doesn't contain any information Quote Link to comment Share on other sites More sharing options...
Stolao Posted September 27, 2015 Group: Developer Topic Count: 48 Topics Per Day: 0.01 Content Count: 1443 Reputation: 344 Joined: 10/17/12 Last Seen: Friday at 04:48 PM Share Posted September 27, 2015 Add a condition under onpccalcevent like If($bonusstats){ Bonus bstr,1; } And add an at command to toggle this on or off for the server or whatever Depends on your exact needs Here is an example of it in use https://github.com/Stolao/Npc_Release/blob/master/Weapon_Mastery/WeaponMastery_v1.21.txt 1 Quote Link to comment Share on other sites More sharing options...
Ninja Posted September 27, 2015 Group: Members Topic Count: 54 Topics Per Day: 0.01 Content Count: 513 Reputation: 84 Joined: 08/11/12 Last Seen: July 4, 2024 Author Share Posted September 27, 2015 Add a condition under onpccalcevent like If($bonusstats){ Bonus bstr,1; } And add an at command to toggle this on or off for the server or whatever Depends on your exact needs Here is an example of it in use https://github.com/Stolao/Npc_Release/blob/master/Weapon_Mastery/WeaponMastery_v1.21.txt Oh, alright. I got what you guys are saying. Thanks. Quote Link to comment Share on other sites More sharing options...
Question
Ninja
Is there a way to give bonus stats even without equipping an item or having an item in your inventory?
like:
Though this doesn't work at all.
Edited by jezznarLink to comment
Share on other sites
9 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.