diff options
author | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-02-08 16:56:53 +0000 |
---|---|---|
committer | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-02-08 16:56:53 +0000 |
commit | a9c2d623a66f27674ea539963a8738138ca7f6aa (patch) | |
tree | 50739b9bd7045cc5618702a486b8eda834f1b2e5 /src/map/chrif.c | |
parent | 1847024eda6075c5637cef48bc14eb3e4958bd34 (diff) | |
download | hercules-a9c2d623a66f27674ea539963a8738138ca7f6aa.tar.gz hercules-a9c2d623a66f27674ea539963a8738138ca7f6aa.tar.bz2 hercules-a9c2d623a66f27674ea539963a8738138ca7f6aa.tar.xz hercules-a9c2d623a66f27674ea539963a8738138ca7f6aa.zip |
- Cleaned up and reorganized status_change_start. Now it also receives the success % rate (0->100)
- Added local function status_get_sc_tick which takes care of reducing the effect duration as need is be.
- Modified status_get_sc_def to handle defense against all related statuses, now returns defense on a scale where 10000 is 100%.
- Added time2 to pangvoice, it is the player effect's duration while time1 is for the mon's effect.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5227 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/chrif.c')
-rw-r--r-- | src/map/chrif.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/chrif.c b/src/map/chrif.c index 836f18acd..c1d127a44 100644 --- a/src/map/chrif.c +++ b/src/map/chrif.c @@ -1227,7 +1227,7 @@ int chrif_load_scdata(int fd) ShowWarning("chrif_load_scdata: Received invalid duration (%d ms) for status change %d (character %s)\n", data.tick, sd->status.name);
continue;
}
- status_change_start(&sd->bl, data.type, data.val1, data.val2, data.val3, data.val4, data.tick, 7);
+ status_change_start(&sd->bl, data.type, 100, data.val1, data.val2, data.val3, data.val4, data.tick, 15);
}
#endif
return 0;
|