t_ad

Rozdíly

Zde můžete vidět rozdíly mezi vybranou verzí a aktuální verzí dané stránky.

Odkaz na výstup diff

t_ad [22.10.2014 09:16] – vytvořeno - upraveno mimo DokuWiki 127.0.0.1t_ad [09.11.2026 11:04] (aktuální) – Acid Demonstration: kód v blocích <code>, vzorec pro Renewal k3dt
Řádek 1: Řádek 1:
 ====== Vzorec pro výpočet Acid Demonstration ====== ====== Vzorec pro výpočet Acid Demonstration ======
 +
 +Vzorec platí pro Classic. Na Renewalu tento vzorec neplatí, poškození je 7 * ((ATK + MATK) / skilllevel) * (VIT cíle / 100) (ATK a MATK spočítané jako u běžného útoku a kouzla).\\
  
 [(0,7*INT^2*VIT)/(INT+VIT)]*skilllevel \\ [(0,7*INT^2*VIT)/(INT+VIT)]*skilllevel \\
Řádek 14: Řádek 16:
 Vzorec na vypocet dmg u AD\\ Vzorec na vypocet dmg u AD\\
  
-CR_ACIDDEMONSTRATION: // updated the formula based on a Japanese formula found to be exact [Reddozen]\\ +<code c> 
-md.damage = **7*tstatus->vit*sstatus->int_*sstatus->int_ / (10*(tstatus->vit+sstatus->int_))**; <-- 1\\ +case CR_ACIDDEMONSTRATION: // updated the formula based on a Japanese formula found to be exact [Reddozen] 
-if (tsd) md.damage>>=1; //<--2\\ + md.damage = 7*tstatus->vit*sstatus->int_*sstatus->int_ / (10*(tstatus->vit+sstatus->int_)); // <-- 1 
-if (md.damage < 0 || md.damage > INT_MAX>>1)\\ + if (tsd) md.damage>>=1; // <-- 2 
-Overflow prevention, will anyone whine if I cap it to a few billion?\\ + if (md.damage < 0 || md.damage > INT_MAX>>1) 
-Not capped to INT_MAX to give some room for further damage increase.\\ + // Overflow prevention, will anyone whine if I cap it to a few billion? 
-md.damage = INT_MAX>>1;\\+ // Not capped to INT_MAX to give some room for further damage increase. 
 + md.damage = INT_MAX>>1; 
 +</code> 
 + 
 +Skill ma ranged flag (blokuje ho pneuma, karty...) stejne jako ostatni skilly co v tomhle kodu jsou 
 + 
 +<code c> 
 +case HT_BLITZBEAT: 
 +case TF_THROWSTONE: 
 +case SN_FALCONASSAULT: 
 +case PA_GOSPEL: 
 +case CR_ACIDDEMONSTRATION: 
 + md.flag = (md.flag&~BF_RANGEMASK)|BF_LONG; // <-- 3 
 +</code>
  
-Skill ma ranged flag (blokuje ho pneuma, karty...) stejne jako ostatni skilly co v tomhle kodu jsou\\+Skill se pro redukce pri GW bere jako Misc
  
-case HT_BLITZBEAT:\\ +<code> 
-case TF_THROWSTONE:\\ +490,9,8,1,0,0,0,10,1:2:3:4:5:6:7:8:9:10,yes,0,0,0,misc,0 //CR_ACIDDEMONSTRATION#Acid Demonstration#
-case SN_FALCONASSAULT:\\ +
-case PA_GOSPEL:\\ +
-case CR_ACIDDEMONSTRATION:\\ +
-md.flag = (md.flag&~BF_RANGEMASK)|BF_LONG; //<--3\\ +
-\\+
  
-Skill se pro redukce pri GW bere jako Misc\\ +01 ID 
-\\ +02 range (combo skills do not check for range when used, if 0 and skill is not inf = 4, use base weapon's range) 
-**490,9,8,1,0,0,0,10,1:2:3:4:5:6:7:8:9:10,yes,0,0,0,misc,0 //CR_ACIDDEMONSTRATION#Acid Demonstration#**\\ +03 hit (8- repeated hitting, 6- single-hit) 
-\\ +04 inf (0- passive, 1- enemy, 2- place, 4- self, 16- friend, 32- trap) 
-01 ID\\ +05 pl attributes (0- nothing, 1- water, 2- earth, 3- fire, 4- wind,5- poison, 6- saint, 7- darkness, 8- sense, 9- immortality) 
-02 range (combo skills do not check for range when used, if 0 and skill is not inf = 4, use base weapon's range)\\ +06 nk (0- normal skill, 1-no damage skill, 2-splash damage skill,-no damage area skill, 4-splash and split damage skill) 
-03 hit (8- repeated hitting, 6- single-hit)\\ +07 splash/effect range (-1 for screen-wide) 
-04 inf (0- passive, 1- enemy, 2- place, 4- self, 16- friend, 32- trap)\\ +08 MaxLv 
-05 pl attributes (0- nothing, 1- water, 2- earth, 3- fire, 4- wind,5- poison, 6- saint, 7- darkness, 8- sense, 9- immortality)\\ +09 Number of hits (when positive, damage is increased by hits,- negative values just show number of hits without increasing total damage) 
-06 nk (0- normal skill, 1-no damage skill, 2-splash damage skill,-no damage area skill, 4-splash and split damage skill)\\ +10 castcancelled (it is cancelled at 1. Are not cancelled with 0) 
-07 splash/effect range (-1 for screen-wide)\\ +11 defense-reduction rate during cast. 
-08 MaxLv\\ +12 inf2 (skill information 2) (1- quest skill, 2- npc skill, 4- wedding skill
-09 Number of hits (when positive, damage is increased by hits,- negative values just show number of hits without increasing total damage)\\ +
-10 castcancelled (it is cancelled at 1. Are not cancelled with 0)\\ +
-11 defense-reduction rate during cast.\\ +
-12 inf2 (skill information 2) (1- quest skill, 2- npc skill, 4- wedding skill\\+
  8- spirit skill, 16- guild skill, 32- song/dance, 64- ensemble skill  8- spirit skill, 16- guild skill, 32- song/dance, 64- ensemble skill
 128- trap (can be targetted), 256- skill that damages/targets yourself 128- trap (can be targetted), 256- skill that damages/targets yourself
Řádek 53: Řádek 59:
 1024- usable only on party-members, 2048- usable only on guild-mates 1024- usable only on party-members, 2048- usable only on guild-mates
 4096- allow usage on enemies too (use with 1024/2048)) 4096- allow usage on enemies too (use with 1024/2048))
-13 maxcount: max amount of skill instances to place on the ground when- player_land_skill_limit/monster_land_skill_limit is enabled.\\ +13 maxcount: max amount of skill instances to place on the ground when- player_land_skill_limit/monster_land_skill_limit is enabled. 
-14 attack type (none, weapon, magic, misc)\\ +14 attack type (none, weapon, magic, misc) 
-15 Blowcount (amount of tiles skill knockbacks)\\+15 Blowcount (amount of tiles skill knockbacks) 
 +</code>
  
  • t_ad.1413962178.txt.gz
  • Poslední úprava: 22.10.2014 09:16
  • autor: 127.0.0.1