1 // Ryzom - MMORPG Framework <http://dev.ryzom.com/projects/ryzom/>
2 // Copyright (C) 2010 Winch Gate Property Limited
4 // This program is free software: you can redistribute it and/or modify
5 // it under the terms of the GNU Affero General Public License as
6 // published by the Free Software Foundation, either version 3 of the
7 // License, or (at your option) any later version.
9 // This program is distributed in the hope that it will be useful,
10 // but WITHOUT ANY WARRANTY; without even the implied warranty of
11 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 // GNU Affero General Public License for more details.
14 // You should have received a copy of the GNU Affero General Public License
15 // along with this program. If not, see <http://www.gnu.org/licenses/>.
19 #ifndef RY_S_LINK_EFFECT_HOT_H
20 #define RY_S_LINK_EFFECT_HOT_H
22 #include "nel/misc/types_nl.h"
25 #include "nel/misc/types_nl.h"
26 #include "s_link_effect.h"
28 class CSLinkEffectHot
: public CSLinkEffect
31 inline CSLinkEffectHot( const TDataSetRow
& creatorRowId
,
32 const TDataSetRow
& targetRowId
,
34 SCORES::TScores energyCost
,
35 SKILLS::ESkills skill
,
37 sint32 healHp
, sint32 healSap
, sint32 healSta
)
38 :CSLinkEffect ( creatorRowId
,targetRowId
,EFFECT_FAMILIES::Hot
,cost
,energyCost
,skill
,0,power
),
39 _HealHp(healHp
),_HealSap(healSap
),_HealSta(healSta
)
44 * apply the effects of the... effect
45 * \return true if the effect must be removed
47 bool update(uint32
& updateFlag
);
50 void applyOnScore( CEntityBase
* caster
, CEntityBase
* target
,SCORES::TScores scoreType
, sint32 value
);
57 #endif // RY_S_LINK_EFFECT_HOT_H
59 /* End of s_link_effect_hot.h */