• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Vocations

patrol114

Ucze się Lua. :)
Joined
Jun 3, 2008
Messages
263
Reaction score
1
Location
localhost
Witam,

mam problem a mianowicie błąd w vocations.xml nie wiem z jakiego powodu shield leci szybciej od sworda,axa,cluba zmieniałem konfiga vocations nic nie pomogło.
 
No to tak zapodaj vocations.xml bo pomimo że mówisz że zmieniałeś to jednak każdy lubi mieć wgląd w faktyczny stan sytuacji bo czasem się zdarza że ktoś niby wie o co chodzi i źle zmieni i potem się dziwi czemu jest tak a nie inaczej.

napisz jeszcze czy znaczna jest różnica między shieldingiem a innymi skillami.
 
Last edited:
No to tak zapodaj vocations.lua bo pomimo że mówisz że zmieniałeś to jednak każdy lubi mieć wgląd w faktyczny stan sytuacji bo czasem się zdarza że ktoś niby wie o co chodzi i źle zmieni i potem się dziwi czemu jest tak a nie inaczej.

napisz jeszcze czy znaczna jest różnica między shieldingiem a innymi skillami.

Gdzie ty masz w silniku plik vocations.lua
 
Mój vocations

<?xml version="1.0" encoding="UTF-8"?>
<vocations>
<vocation id="0" name="None" description="none" needpremium="0" gaincap="5" gainhp="5" gainmana="5" gainhpticks="6" gainhpamount="10" gainmanaticks="6" gainmanaamount="1" manamultiplier="4.0" attackspeed="1500" soulmax="100" gainsoulticks="120" fromvoc="0" attackable="no">
<formula meleeDamage="1.1" distDamage="1.0" wandDamage="1.0" magDamage="1.0" magHealingDamage="1.0" defense="1.0" magDefense="1.0" armor="1.0"/>
<skill fist="1.5" club="2.0" sword="2.0" axe="2.0" distance="2.0" shielding="1.5" fishing="1.1" experience="1.0"/>
</vocation>
<vocation id="1" name="Sorcerer" description="a sorcerer" needpremium="0" gaincap="10" gainhp="5" gainmana="30" gainhpticks="6" gainhpamount="10" gainmanaticks="3" gainmanaamount="15" manamultiplier="1.1" attackspeed="1500" soulmax="100" gainsoulticks="120" fromvoc="1">
<formula meleeDamage="1.0" distDamage="1.0" wandDamage="1.0" magDamage="1.6" magHealingDamage="1.4" defense="1.0" magDefense="1.0" armor="1.0"/>
<skill fist="1.5" club="2.0" sword="2.0" axe="2.0" distance="2.0" shielding="1.5" fishing="1.1" experience="1.0"/>
</vocation>
<vocation id="2" name="Druid" description="a druid" needpremium="0" gaincap="10" gainhp="5" gainmana="30" gainhpticks="6" gainhpamount="10" gainmanaticks="3" gainmanaamount="15" manamultiplier="1.1" attackspeed="1500" soulmax="100" gainsoulticks="120" fromvoc="2">
<formula meleeDamage="1.0" distDamage="1.0" wandDamage="1.0" magDamage="1.5" magHealingDamage="1.4" defense="1.0" magDefense="1.0" armor="1.0"/>
<skill fist="1.5" club="1.8" sword="1.8" axe="1.8" distance="1.8" shielding="1.5" fishing="1.1" experience="1.0"/>
</vocation>
<vocation id="3" name="Paladin" description="a paladin" needpremium="0" gaincap="20" gainhp="10" gainmana="15" gainhpticks="4" gainhpamount="10" gainmanaticks="4" gainmanaamount="15" manamultiplier="1.4" attackspeed="1500" soulmax="100" gainsoulticks="120" fromvoc="3">
<formula meleeDamage="1.0" distDamage="1.5" wandDamage="1.0" magDamage="1.6" magHealingDamage="1.7" defense="1.0" magDefense="1.0" armor="1.0"/>
<skill fist="1.2" club="1.2" sword="1.2" axe="1.2" distance="1.4" shielding="1.1" fishing="1.1" experience="1.0"/>
</vocation>
<vocation id="4" name="Knight" description="a knight" needpremium="0" gaincap="25" gainhp="15" gainmana="5" gainhpticks="3" gainhpamount="10" gainmanaticks="6" gainmanaamount="15" manamultiplier="3.0" attackspeed="1500" soulmax="100" gainsoulticks="120" fromvoc="4">
<formula meleeDamage="1.0" distDamage="1.0" wandDamage="1.0" magDamage="1.4" magHealingDamage="1.6" defense="1.0" magDefense="1.0" armor="1.0"/>
<skill fist="1.5" club="1.4" sword="1.4" axe="1.4" distance="1.4" shielding="1.5" fishing="1.4" experience="1.0"/>
</vocation>
<vocation id="5" name="Master Sorcerer" description="a master sorcerer" needpremium="1" gaincap="10" gainhp="5" gainmana="30" gainhpticks="4" gainhpamount="15" gainmanaticks="2" gainmanaamount="20" manamultiplier="1.1" attackspeed="1500" soulmax="200" gainsoulticks="15" fromvoc="1">
<formula meleeDamage="1.0" distDamage="1.0" wandDamage="1.0" magDamage="1.6" magHealingDamage="1.4" defense="1.0" magDefense="1.0" armor="1.0"/>
<skill fist="1.5" club="2.0" sword="2.0" axe="2.0" distance="2.0" shielding="1.5" fishing="1.1" experience="1.0"/>
</vocation>
<vocation id="6" name="Elder Druid" description="an elder druid" needpremium="1" gaincap="10" gainhp="5" gainmana="30" gainhpticks="4" gainhpamount="15" gainmanaticks="2" gainmanaamount="20" manamultiplier="1.1" attackspeed="1500" soulmax="200" gainsoulticks="15" fromvoc="2">
<formula meleeDamage="1.0" distDamage="1.0" wandDamage="1.0" magDamage="1.5" magHealingDamage="1.4" defense="1.0" magDefense="1.0" armor="1.0"/>
<skill fist="1.5" club="1.1" sword="1.8" axe="1.8" distance="1.8" shielding="1.5" fishing="1.1" experience="1.0"/>
</vocation>
<vocation id="7" name="Royal Paladin" description="a royal paladin" needpremium="1" gaincap="20" gainhp="10" gainmana="15" gainhpticks="3" gainhpamount="15" gainmanaticks="3" gainmanaamount="20" manamultiplier="1.4" attackspeed="1500" soulmax="200" gainsoulticks="15" fromvoc="3">
<formula meleeDamage="1.0" distDamage="1.5" wandDamage="1.0" magDamage="1.6" magHealingDamage="1.7" defense="1.0" magDefense="1.0" armor="1.0"/>
<skill fist="1.4" club="1.1" sword="1.1" axe="1.1" distance="1.4" shielding="1.1" fishing="1.1" experience="1.0"/>
</vocation>
<vocation id="8" name="Elite Knight" description="an elite knight" needpremium="1" gaincap="25" gainhp="15" gainmana="5" gainhpticks="2" gainhpamount="15" gainmanaticks="4" gainmanaamount="20" manamultiplier="3.0" attackspeed="1500" soulmax="200" gainsoulticks="15" fromvoc="4">
<formula meleeDamage="1.4" distDamage="1.1" wandDamage="1.0" magDamage="1.4" magHealingDamage="1.6" defense="1.0" magDefense="1.0" armor="1.0"/>
<skill fist="0.5" club="1.4" sword="1.4" axe="1.4" distance="1.4" shielding="1.5" fishing="1.4" experience="1.0"/>
</vocation>
<vocation id="9" name="Epic Master Sorcerer" description="an epic master sorcerer" needpremium="0" gaincap="10" gainhp="5" gainmana="30" gainhpticks="4" gainhpamount="15" gainmanaticks="2" gainmanaamount="30" manamultiplier="1.1" attackspeed="1500" soulmax="200" gainsoulticks="15" fromvoc="5">
<formula meleeDamage="1.0" distDamage="1.0" wandDamage="1.0" magDamage="1.0" magHealingDamage="1.0" defense="1.0" magDefense="1.0" armor="1.0"/>
<skill fist="1.5" club="2.0" sword="2.0" axe="2.0" distance="2.0" shielding="1.5" fishing="1.1" experience="1.1"/>
</vocation>
<vocation id="10" name="Epic Elder Druid" description="an epic elder druid" needpremium="0" gaincap="10" gainhp="5" gainmana="30" gainhpticks="4" gainhpamount="15" gainmanaticks="2" gainmanaamount="30" manamultiplier="1.1" attackspeed="1500" soulmax="200" gainsoulticks="15" fromvoc="6">
<formula meleeDamage="1.0" distDamage="1.0" wandDamage="1.0" magDamage="1.0" magHealingDamage="1.0" defense="1.0" magDefense="1.0" armor="1.0"/>
<skill fist="1.5" club="1.8" sword="1.8" axe="1.8" distance="1.8" shielding="1.5" fishing="1.1" experience="1.1"/>
</vocation>
<vocation id="11" name="Epic Royal Paladin" description="an epic royal paladin" needpremium="0" gaincap="20" gainhp="10" gainmana="15" gainhpticks="3" gainhpamount="15" gainmanaticks="3" gainmanaamount="30" manamultiplier="1.4" attackspeed="1500" soulmax="200" gainsoulticks="15" fromvoc="7">
<formula meleeDamage="1.0" distDamage="1.1" wandDamage="1.0" magDamage="1.0" magHealingDamage="1.0" defense="1.0" magDefense="1.0" armor="1.0"/>
<skill fist="1.2" club="1.2" sword="1.2" axe="1.2" distance="1.1" shielding="1.1" fishing="1.1" experience="1.1"/>
</vocation>
<vocation id="12" name="Epic Elite Knight" description="an epic elite knight" needpremium="0" gaincap="25" gainhp="15" gainmana="5" gainhpticks="8" gainhpamount="15" gainmanaticks="4" gainmanaamount="30" manamultiplier="3.0" attackspeed="1500" soulmax="200" gainsoulticks="15" fromvoc="8">
<formula meleeDamage="1.1" distDamage="1.0" wandDamage="1.0" magDamage="1.0" magHealingDamage="1.0" defense="1.0" magDefense="1.0" armor="1.0"/>
<skill fist="1.1" club="1.1" sword="1.1" axe="1.1" distance="1.4" shielding="1.1" fishing="1.1" experience="1.1"/>
</vocation>

</vocations>
 
Gdzie ty masz w silniku plik vocations.lua

Hehe racja z rozpędu napisałem .lua oczywiście chodzi o vocations.xml

A jeśli chodzi o mnie to ja mam tu:

Code:
C:\cryingdamson5gui\OTS\data\actions\scripts\vocations.lua


Czemu poustawiałeś żeby knightowi axe,club i sword szedł tak samo jak dist? Trochę to mija się z celem lepiej by było już w config.lua zmienić rate.

Poza tym masz ustawione że palkowi szybciej lecą skille axe,club,sword niż knightowi (i niż dist palkowi)

większa liczba nie zawsze oznacza że szybciej coś leci.

Bo działa to mniej więcej tak (dane jedynie przykładowe bo nie wiem ile razy trzeba uderzyć aby wbic skill 10-11)

Code:
sword="1.1

z 10 na 11 skill trzeba uderzyć 100x
z 11 na 12 skill trzeba uderzyć 100x + (100*0.1) = 110x

sword="1.5

z 10 na 11 skill trzeba uderzyć 100x
z 11 na 12 skill trzeba uderzyć 100x + (100*0.5) = 150x

Bloodhit dla pallka liczony jest za 2 uderzenia jesli za któryms tam razem nie walniesz bloodhita to skill przestaje lecieć(nie pamiętam po ilu pudlach)

Jeśli coś pomieszałem lub jest to nie prawda to poprawcie mnie.
 
Last edited:
Back
Top