Home
last modified time | relevance | path

Searched refs:potionSkill (Results 1 – 5 of 5) sorted by relevance

/dports/games/scourge/scourge/src/events/
H A Dpotionexpirationevent.cpp36 this->potionSkill = item->getRpgItem()->getPotionSkill(); in PotionExpirationEvent()
44 int potionSkill, in PotionExpirationEvent() argument
49 this->potionSkill = potionSkill; in PotionExpirationEvent()
65 if ( potionSkill < 0 ) { in execute()
66 switch ( -potionSkill - 2 ) { in execute()
82 creature->setSkillBonus( potionSkill, in execute()
83 creature->getSkillBonus( potionSkill ) - in execute()
H A Dpotionexpirationevent.h38 int potionSkill; variable
47 …PotionExpirationEvent( Date currentDate, Date timeOut, Creature *c, int potionSkill, int amount, S…
/dports/games/scourge/scourge/src/rpg/
H A Drpgitem.h264 inline void setPotion( int potionPower, int potionSkill, int potionTime ) { in setPotion() argument
266 this->potionSkill = potionSkill; in setPotion()
273 return potionSkill; in getPotionSkill()
391 int potionSkill; // which skill does this potion effect? variable
H A Drpgitem.cpp119 potionPower = potionSkill = potionTime = 0; in RpgItem()
344 char const* potionSkill = potion->getValueAsString( "skill" ); in initItemEntries() local
346 if ( potionSkill != NULL && strlen( potionSkill ) ) { in initItemEntries()
347 skill = Skill::getSkillIndexByName( potionSkill ); in initItemEntries()
350 skill = Constants::getPotionSkillByName( potionSkill ); in initItemEntries()
352 cerr << "*** WARNING: cannot find potion_skill: " << potionSkill << endl; in initItemEntries()
/dports/games/scourge/scourge/src/
H A Dcreature.cpp1866 …int potionSkill = ( ( item->getRpgItem()->getPotionSkill() < 0 ) ? ( -item->getRpgItem()->getPotio… in isWithPrereq() local
1869 if ( ( potionSkill == Constants::HP ) && ( remainingHP <= LOW_HP ) ) return true; in isWithPrereq()
1870 …if ( ( potionSkill == Constants::MP ) && ( ( remainingMP <= LOW_MP ) && getMaxMp() ) ) return true; in isWithPrereq()