All Data Structures Namespaces Files Functions Variables Pages
combat.func.php File Reference

Go to the source code of this file.

## Functions

if(!defined( 'IN_GAME')) | combat ($active=1, $wep_kind= '')
| attack ($wep_kind= 'N', $active=0)
| defend ($w_wep_kind= 'N', $active=0)
| get_original_dmg ($w1, $w2, $att, $def, $ws, $wp_kind)
| get_damage_p (&$rg, $atkcdt, $type, $nm, $cl=0, $msg= '')
| checkdmg ($p1, $p2, $d)
| checkdef ($def, $ardef, $aky, $active=0)
| checkarb (&$dmg, $w, $aky, $dky, $active=0)
| checkdmgdef ($dmg, $aky, $dky, $active)
| checkdmgreflex (&$dmg, $ar)
| getatkkey ($w, $ah, $ab, $aa, $af, $at, $atkind, $is_wpg)
| get_hit_time ($ky, $ws, $htr, $wk, $lmt, $infr, $inft, $wimpr, $is_wpg=false, $hitratebonus)
| getdefkey ($w, $ah, $ab, $aa, $af, $at, $atkind)
| get_ex_dmg ($nm, $sd, $clb, &$inf, $ky, $wk, $we, $ws, $dky)
| get_WF_p ($w, $clb, $we)
| check_KP_wep ($nm, $ht, &$wp, &$wk, &$we, &$ws, &$wsk)
| check_GCDF_wep ($nm, $ht, &$wp, $wp_kind, &$wk, &$we, &$ws, &$wsk)
| get_inf ($nm, $ht, $wp_kind)
| get_dmg_punish ($nm, $dmg, &$hp, $a_ky)
| exprgup (&$lv_a, $lv_d, &$exp, $isplayer, &$rg)
| addnoise ($wp_kind, $wsk, $ntime, $npls, $nid1, $nid2, $nmode)
| check_gender ($nm_a, $nm_d, $gd_a, $gd_d, $a_ky)
| npc_changewep ($active=0)
| npc_chat ($type, $nm, $mode)
| count_good_man_card ($active)

## Function Documentation

addnoise | ( |  | $wp_kind,
|  |  | $wsk,
|  |  | $ntime,
|  |  | $npls,
|  |  | $nid1,
|  |  | $nid2,
|  |  | $nmode
| ) |  |

Definition at line 1435 of file combat.func.php.

attack | ( |  | $wep_kind = `'N'`,
|  |  | $active = `0`
| ) |  |

Definition at line 294 of file combat.func.php.

check_GCDF_wep | ( |  | $nm,
|  |  | $ht,
|  | & | $wp,
|  |  | $wp_kind,
|  | & | $wk,
|  | & | $we,
|  | & | $ws,
|  | & | $wsk
| ) |  |

Definition at line 1314 of file combat.func.php.

check_gender | ( |  | $nm_a,
|  |  | $nm_d,
|  |  | $gd_a,
|  |  | $gd_d,
|  |  | $a_ky
| ) |  |

Definition at line 1466 of file combat.func.php.

check_KP_wep | ( |  | $nm,
|  |  | $ht,
|  | & | $wp,
|  | & | $wk,
|  | & | $we,
|  | & | $ws,
|  | & | $wsk
| ) |  |

Definition at line 1282 of file combat.func.php.

checkarb | ( | & | $dmg,
|  |  | $w,
|  |  | $aky,
|  |  | $dky,
|  |  | $active = `0`
| ) |  |

Definition at line 889 of file combat.func.php.

checkdef | ( |  | $def,
|  |  | $ardef,
|  |  | $aky,
|  |  | $active = `0`
| ) |  |

Definition at line 876 of file combat.func.php.

checkdmg | ( |  | $p1,
|  |  | $p2,
|  |  | $d
| ) |  |

Definition at line 836 of file combat.func.php.

checkdmgdef | ( |  | $dmg,
|  |  | $aky,
|  |  | $dky,
|  |  | $active
| ) |  |

Definition at line 922 of file combat.func.php.

checkdmgreflex | ( | & | $dmg,
|  |  | $ar
| ) |  |

Definition at line 948 of file combat.func.php.

if (!defined( 'IN_GAME')) combat | ( |  | $active = `1`,
|  |  | $wep_kind = `''`
| ) |  |

Definition at line 7 of file combat.func.php.

count_good_man_card | ( |  | $active | ) |

Definition at line 1617 of file combat.func.php.

defend | ( |  | $w_wep_kind = `'N'`,
|  |  | $active = `0`
| ) |  |

Definition at line 508 of file combat.func.php.

exprgup | ( | & | $lv_a,
|  |  | $lv_d,
|  | & | $exp,
|  |  | $isplayer,
|  | & | $rg
| ) |  |

Definition at line 1413 of file combat.func.php.

get_damage_p | ( | & | $rg,
|  |  | $atkcdt,
|  |  | $type,
|  |  | $nm,
|  |  | $cl = `0`,
|  |  | $msg = `''`
| ) |  |

Definition at line 755 of file combat.func.php.

get_dmg_punish | ( |  | $nm,
|  |  | $dmg,
|  | & | $hp,
|  |  | $a_ky
| ) |  |

Definition at line 1394 of file combat.func.php.

get_ex_dmg | ( |  | $nm,
|  |  | $sd,
|  |  | $clb,
|  | & | $inf,
|  |  | $ky,
|  |  | $wk,
|  |  | $we,
|  |  | $ws,
|  |  | $dky
| ) |  |

Definition at line 1083 of file combat.func.php.

get_hit_time | ( |  | $ky,
|  |  | $ws,
|  |  | $htr,
|  |  | $wk,
|  |  | $lmt,
|  |  | $infr,
|  |  | $inft,
|  |  | $wimpr,
|  |  | $is_wpg = `false`,
|  |  | $hitratebonus
| ) |  |

Definition at line 987 of file combat.func.php.

get_inf | ( |  | $nm,
|  |  | $ht,
|  |  | $wp_kind
| ) |  |

Definition at line 1342 of file combat.func.php.

get_original_dmg | ( |  | $w1,
|  |  | $w2,
|  |  | $att,
|  |  | $def,
|  |  | $ws,
|  |  | $wp_kind
| ) |  |

Definition at line 730 of file combat.func.php.

get_WF_p | ( |  | $w,
|  |  | $clb,
|  |  | $we
| ) |  |

Definition at line 1257 of file combat.func.php.

getatkkey | ( |  | $w,
|  |  | $ah,
|  |  | $ab,
|  |  | $aa,
|  |  | $af,
|  |  | $at,
|  |  | $atkind,
|  |  | $is_wpg
| ) |  |

Definition at line 962 of file combat.func.php.

getdefkey | ( |  | $w,
|  |  | $ah,
|  |  | $ab,
|  |  | $aa,
|  |  | $af,
|  |  | $at,
|  |  | $atkind
| ) |  |

Definition at line 1054 of file combat.func.php.

npc_changewep | ( |  | $active = `0` | ) |

Definition at line 1480 of file combat.func.php.

npc_chat | ( |  | $type,
|  |  | $nm,
|  |  | $mode
| ) |  |

Definition at line 1550 of file combat.func.php.