Skip to content
This repository has been archived by the owner on Apr 29, 2020. It is now read-only.

Tortoise Song now only dispels songs and rolls, food no longer removed when entering battlefield or level sync #12

Merged
merged 1 commit into from
Jan 30, 2014

Conversation

maxtherabbit
Copy link
Contributor

tortoise song now only dispels status effects flagged with EFFECTFLAG_SONG or EFFECTFLAG_ROLL - this is retail behavior

created new EFFECTFLAG_SONG and ROLL in status.lua and status_effect.h

removed EFFECTFLAG_DEATH from the 'food' status effect and added EFFECTFLAG_FOOD to the flags of deleted status effects on player death in the ActionDeath() function

having the 'food' effect flagged with the 'DEATH' flag was causing food effects to be removed upon level sync and entering a battlefield (non-retail behavior)

TODO: flag all bard songs and cor rolls in sql

CORE / SCRIPTS: added new EFFECTFLAG_SONG and EFFECTFLAG_ROLL, changed CAICharNormal::ActionDeath() to remove effects flagged 'FOOD' on player death
SQL: removed 'DEATH' flag from food effect
TODO: flag all bard songs and corsair rolls in sql
@teschnei
Copy link
Contributor

i think what i'll do is revert the change to death/food, and then make a different flag for "dispels on level sync/restriction", because it's currently also clearing all debuffs (which is.. not retail at all lol)

teschnei added a commit that referenced this pull request Jan 30, 2014
SCRIPTS: Tortoise Song now only dispels songs and rolls
@teschnei teschnei merged commit 6f2c322 into DarkstarProject:master Jan 30, 2014
teschnei pushed a commit that referenced this pull request Dec 13, 2014
teschnei pushed a commit that referenced this pull request Apr 17, 2015
@ymkc ymkc mentioned this pull request Jul 17, 2016
2 tasks
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants