class DamagePassiveSkillLogic extends BasePassiveSkillLogic { getEffectRatio ( executor , target , passiveSkill ) { if ( executor . rarity > target . rarity ) { return 1 + passiveSkill . skillFuncArg1 ; } else { return 1 ; } } }