skotlex
|
e120c937cc
- Updated the autospell bonus scripts so you don't have to specify all the attack type criteria. If neither of BF_LONG/BF_SHORT is specified, the spell will trigger on both. If neither of BF_WEAPON/BF_MAGIC/BF_MISC is specified, the spell will trigger on BF_WEAPON, if neither of BF_NORMAL/BF_SKILL is specified, BF_SKILL is used if the trigger is BF_MAGIC/BF_MISC and BF_NORMAL is used if the attack is BF_WEAPON. This way the default when nothing is specified is BF_NORMAL|BF_WEAPON|BF_SHORT|BF_LONG.
|
18 năm trước cách đây |
skotlex
|
bdaf348a6d
- Expanded the autospell structure to hold a flag, which contains the required Battle Flag conditions required for a skill to trigger.
|
18 năm trước cách đây |
skotlex
|
0aa57161b9
- Modified spirit of Wizard so that the consumption of 'Fragments' when blocking bounced spells will only consume 1 Fragment per skill casted, regardless of how many hits were reflected.
|
18 năm trước cách đây |
skotlex
|
b6bfcce712
- Modified status_get_sc_def to handle both rate and tick reductions. This way it can take care of the fact that curse rate/duration reductions are not reduced by the same stats.
|
18 năm trước cách đây |
skotlex
|
e939ffd654
- Fixed crash if a script does a%0
|
18 năm trước cách đây |
FlavioJS
|
a91b77d781
* Recoded and renamed the trim function in strlib to normalize_name. (didn't behave like a standard trim function, see function comment for what it does)
|
18 năm trước cách đây |
ultramage
|
5d3ea3da27
* Played around with MinGW a bit today...
|
18 năm trước cách đây |
ultramage
|
87c0efdc89
- Moved e_mail_check() and config_switch() to strlib.h
|
18 năm trước cách đây |
DracoRPG
|
7c8f12ccd5
I'm still here!
|
18 năm trước cách đây |
ultramage
|
dec82b6120
- Fixed the server crashing on startup due to bad define
|
18 năm trước cách đây |
FlavioJS
|
43a375ad89
* Added all the missing defines for ctype.h functions and converted all the direct uses to the defines.
|
18 năm trước cách đây |
skotlex
|
cbac96a819
- Corrected a pretty serious typo in script.c
|
18 năm trước cách đây |
toms
|
d57ed274ca
Continued script.c cleanup
|
18 năm trước cách đây |
skotlex
|
640ef63c2b
- Added defines script_getnum and script_getstr to further simplify variable reading code.
|
18 năm trước cách đây |
ultramage
|
06f0d60116
Some generic typo fixes (src and npc)
|
18 năm trước cách đây |
skotlex
|
f441021b95
- Corrected setitemscript so it actually changes the script as requested instead of causing dangling pointers.
|
18 năm trước cách đây |
skotlex
|
a102344894
- getpetinfo 5 will now return the pet's rename flag.
|
18 năm trước cách đây |
skotlex
|
3ee61db52f
- Removed Magic Rod's cast bar.
|
18 năm trước cách đây |
skotlex
|
2907fa6467
- Removed the last argument from skillitem, the skill name passed to the client should always be of the type "AL_HEAL" anyway.
|
18 năm trước cách đây |
toms
|
3e25d536cf
Globalised use of script_pushint and script_getdata in script.c
|
18 năm trước cách đây |
FlavioJS
|
14e2d760f9
* Script engine:
|
18 năm trước cách đây |
FlavioJS
|
b7f0cc8905
- Corrected the structure and added info on the skill fail packet (0x110).
|
18 năm trước cách đây |
DracoRPG
|
58dcd187b0
Mapcache update, should polish off remaining bugs
|
18 năm trước cách đây |
skotlex
|
29cb0abe60
- Added player not attached crash prevention to countitem/countitem2
|
18 năm trước cách đây |
skotlex
|
ddfc677c99
- @storage/@gstorage will no longer work if you have a trade or a storage opened already.
|
18 năm trước cách đây |
FlavioJS
|
2b42ec13cf
- Added info on packet 0x86 (simple move packet). Not usable until a clear separation between entering sight/leaving sight/walking in sight is done.
|
18 năm trước cách đây |
skotlex
|
9387ff566b
- Made conv_str return const char* since the script engine screws up if you mess with the position of the terminator on the received string.
|
18 năm trước cách đây |
skotlex
|
b10091246c
- Normalized the mapname in guild get/set castle data, should fix guild flags.
|
18 năm trước cách đây |
skotlex
|
4dd0c95c58
- Modified set_reg so that it returns whether it succeeded or not in setting the requested variable.
|
18 năm trước cách đây |
ultramage
|
4ca0b15de3
EOL-styled some more files
|
18 năm trước cách đây |