- Fixed a typo bug in SC_STAR_COMFORT handling.
- Fixed a possible crash bug in SC_POISONREACT handling. - Simplified the skill trigger code for ST_PRESERVE, SG_FUSION, SG_*_COMFORT - Unified the status change variables into a single structure (sc_count, opt1, opt2, opt3, option, and the array of status change data) which should make it easier to handle sc related stuff. - TK_DODGE now won't trigger if your opt1 is set ;) git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5154 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
@@ -561,8 +561,8 @@ int charcommand_option(
|
||||
|
||||
if ((pl_sd = map_nick2sd(character)) != NULL) {
|
||||
if (pc_isGM(sd) >= pc_isGM(pl_sd)) { // you can change option only to lower or same level
|
||||
pl_sd->opt1 = opt1;
|
||||
pl_sd->opt2 = opt2;
|
||||
pl_sd->sc.opt1 = opt1;
|
||||
pl_sd->sc.opt2 = opt2;
|
||||
pc_setoption(pl_sd, opt3);
|
||||
clif_displaymessage(fd, msg_table[58]); // Character's options changed.
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user