4b322d60ae
- SpellProcess::DeleteCasterSpell now unshades/ungreys a spell that was in maintained effects when cancelled. This is for Fix #383 in relation to pet spells, but extends to any endless duration maintained spells. - Fix #315 Implemented /cancel_effect [spell_id] - need DB query update: update commands set handler=530 where command='cancel_effect'; - Spell bonuses should properly be removed when spell is removed from a entity/spawn (char sheet stats should update and bonuses re-calculated) - Sanity checks on /cancel_maintained so you cannot overflow the array and crash the server - Resisted spells should no longer add control effects or do other spell like impacts when the cast is complete, this is based on the SpellDamage/Attack (that resists, then additional effects will be ignored in the cast function) - Root, stun and mesmerize now hold the NPC in place - We purge their previous movement plans to avoid wandering pointlessly when an NPC is stunned, mesmerized or rooted - starting_languages update R_World StartingZoneLanguages Value 0: Does a match specific to race id (ignores starting_zone in the SQL query, so it consumes all) and inserts the languages applicable Value 1: Looks for all matching to starting_city, which is based on the client see starting_zones for examples. Also wildcard for starting city of 0 and race id match. update starting_languages set race=2 where race=3 and language_id=3; #dwarf (2) language id of 3 is not erudite race (3)
3 lines
No EOL
268 B
SQL
3 lines
No EOL
268 B
SQL
alter table starting_zones add column start_alignment tinyint(3) signed not null default 0;
|
|
update starting_zones set start_alignment = 1 where choice = 1 or choice = 4 or choice = 32;
|
|
alter table characters add column alignment tinyint(3) signed not null default 0; |