Hello can someone help or fix my script ? Because its not working for both ( normal effect and item combo )
Here's the item :
Every refine MATK +5, Variable cast time -1%
Increases magical attack inflicted on Earth, Ghost, Neutral and Undead monsters by 2%
When combined with Moonlight Flower Card
Enables the use of Level 10 Heal
If Base Level is below 100
Every refine MDEF +5, MATK +5
If Base Level at least 100
"Every refine MDEF +10, MATK +15
Type Footgear
Defense18
Weight 100
RefinableYes
Requirement
Base level 99
and my script in itemdb.txt
22132,Lighting_Gods_Shoes,Lightning Gods Shoes,4,20,,400,,18,,1,0xFFFFFFFE,63,2,64,,99,1,0,{ .@r = getrefine(); bonus2 bVariableCastrate,-.@r; bonus bMatk,(.@r*5); bonus2 bMagicAddEle,Ele_Earth,2*.@r; bonus2 bAddEle,Ele_Neutral,2*.@r; bonus2 bAddEle,Ele_Undead,2*.@r; bonus2 bAddEle,Ele_Ghost,2*.@r;},{},{}
and this one in item_combo_db.txt
22132:4131,{.@r = getequiprefinerycnt(EQI_SHOES);skill "AL_HEAL",10;if(BaseLevel < 99){bonus bMatk,.@r*5;bonus bMdef,.@r*;} else {bonus bMatk,.@r*15;bonus bMdef,.@r*10;}}
Thank You