Klutz Posted July 12, 2013 Group: Members Topic Count: 5 Topics Per Day: 0.00 Content Count: 11 Reputation: 0 Joined: 11/03/12 Last Seen: August 5, 2020 Share Posted July 12, 2013 (edited) i want to make a script that reads what skills are active at the momnet. For example if EDP is active i want the player to have more 10 STR(item script) Something like readparama for skills and i have no idea how to do it. Thank you Edited July 12, 2013 by Klutz Quote Link to comment Share on other sites More sharing options...
Capuche Posted July 12, 2013 Group: Developer Topic Count: 10 Topics Per Day: 0.00 Content Count: 2407 Reputation: 616 Joined: 07/05/12 Last Seen: March 20 Share Posted July 12, 2013 *getstatus <effect type>{,<type>}; Retrieve information about a specific status effect when called. Depending on <type> specified the function will return different information. Possible <type> values: - 0 or undefined: whether the status is active - 1: the val1 of the status - 2: the val2 of the status - 3: the val3 of the status - 4: the val4 of the status - 5: the amount of time in milliseconds that the status has remaining If <type> is not defined or is set to 0, then the script function will either return 1 if the status is active, or 0 if the status is not active. If the status is not active when any of the <type> fields are provided, this script function will always return 0. <effect type> are sc_ type in const, db foolder Quote Link to comment Share on other sites More sharing options...
Klutz Posted July 12, 2013 Group: Members Topic Count: 5 Topics Per Day: 0.00 Content Count: 11 Reputation: 0 Joined: 11/03/12 Last Seen: August 5, 2020 Author Share Posted July 12, 2013 is there anyway to cast sc_end on an enemy? Let me ask it in a diffrent way I want to script, if a player getting hitted there will be 3% chance to remove his Shield Protection (sc_end 73). Quote Link to comment Share on other sites More sharing options...
Question
Klutz
i want to make a script that reads what skills are active at the momnet.
For example if EDP is active i want the player to have more 10 STR(item script)
Something like readparama for skills
and i have no idea how to do it.
Thank you
Edited by KlutzLink to comment
Share on other sites
2 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.