/* * Patch for filter_var() */ if(!function_exists('filter_var')){ define('FILTER_VALIDATE_IP', 'ip'); define('FILTER_FLAG_IPV4', 'ipv4'); define('FILTER_FLAG_IPV6', 'ipv6'); define('FILTER_VALIDATE_EMAIL', 'email'); define('FILTER_FLAG_EMAIL_UNICODE', 'unicode'); function filter_var($variable, $filter, $option = false){ if($filter == 'ip'){ if($option == 'ipv4'){ if(preg_match("/(\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3})/", $variable, $matches)){ $variable = $matches[1]; return $variable; } } if($option == 'ipv6'){ if(preg_match("/\s*(([:.]{0,7}[0-9a-fA-F]{0,4}){1,8})\s*/", $variable, $matches)){ $variable = $matches[1]; return $variable; } } } if($filter == 'email'){ if($option == 'unicode' || $option == false){ if(preg_match("/\s*(\S*@\S*\.\S*)\s*/", $variable, $matches)){ $variable = $matches[1]; return $variable; } } } } }
<skill id="1204" levels="2" name="Wind Walk" enchantLevels1="30" enchantLevels2="30" >
<table name="#enchantMagicLvl"> 76 76 76 77 77 77 78 78 78 79 79 79 80 80 80 81 81 81 82 82 82 82 83 83 83 84 84 85 85 85 </table>
<enchant1 name="magicLvl" val="#enchantMagicLvl"/>
<enchant2 name="magicLvl" val="#enchantMagicLvl"/>
<table name="#ench1time">
1240 1280 1320 1360 1400 1440 1480 1520 1560 1600
1640 1680 1720 1760 1800 1840 1880 1920 1960 2000
2040 2080 2120 2160 2200 2240 2280 2320 2360 2400
</table>
<table name="#ench2MpConsume">
20 20 19 19 19 18 18 18 17 17
17 16 16 16 15 15 15 14 14 14
13 13 12 12 12 11 11 11 10 10
</table>
<table name="#ench2MpConsume_Init">
5 5 5 5 5 5 5 5 5 5
4 4 4 4 4 4 4 4 4 4
3 3 3 3 3 3 3 3 3 3
</table>
<table name="#mpConsume_Init"> 4 6 </table>
<table name="#mpConsume"> 16 21 </table>
<table name="#Tab-runSpd"> 20 33 </table>
<table name="#aggro"> 204 285 </table>
<set name="mpInitialConsume" val="#mpConsume_Init"/>
<set name="mpConsume" val="#mpConsume"/>
<set name="power" val="0.0"/>
<set name="target" val="TARGET_ONE"/>
<set name="reuseDelay" val="6000"/>
<set name="hitTime" val="4000"/>
<set name="skillType" val="BUFF"/>
<set name="isMagic" val="true"/>
<set name="operateType" val="OP_ACTIVE"/>
<set name="castRange" val="400"/>
<set name="effectRange" val="900"/>
<set name="aggroPoints" val="#aggro"/>
<enchant2 name="mpConsume" val="#ench2MpConsume"/>
<enchant2 name="mpInitialConsume" val="#ench2MpConsume_Init"/>
<for>
<effect count="1" name="Buff" time="1200" val="0" stackOrder="#Tab-runSpd" stackType="speed_up">
<add order="0x40" stat="runSpd" val="#Tab-runSpd"/>
</effect>
</for>
<enchant1for>
<effect count="1" name="Buff" time="#ench1time" val="0" stackOrder="33" stackType="speed_up">
<add order="0x40" stat="runSpd" val="33"/>
</effect>
</enchant1for>
# This option allows different name colors for GM and Admin characters.
# Retail: true
GMNameColorEnabled = True
# Color to use for Admin names, if enabled. (access level 100+).
# Color to use for GM names, if enabled. (access level 75+).
# Example:
# 00FF00 (green) FFFF00 (yellow)
# Note:
# The colors are in BGR, NOT RGB, Reverse RGB to get BGR
# Retail: 00FF00, FFFF00
AdminNameColor = F0F8FF
GMNameColor = FFFF00