• 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!

[10.95] TFS 1.2 with critical hits and hp/mana leech!

Pyziol

New Member
Joined
Jun 15, 2016
Messages
24
Reaction score
4
Hi. I decided to share with you my modified TFS. Hope you enjoy it :cool:

Features [0.0.1]
Code:
- All TFS 1.2 features
- 10.94/10.95 client support
- Cast system (C++ codes)
- Boost system (critical hits, hp/mana leech)

TODO list
Code:
- global depot system
- reward chests
- pacc time issue (when using ctrl+g)

Package contains
Code:
-Source
-Pre-build server for Windows (x64)
-items.otb (10.94)
-items.xml & movements.xml with example boost item

Download
https://mega.nz/#!kBFXzb7T

Code:
key: !wdx8NAF1bTbKmaZLpmtmrMGax8hD0VTL1gP3WeKP_oU


Thanks to:
@gunz
@Milice
@Thexamx

Additional LUA content
Code:
Functions:
getBoost(boostType)

Constants:
BOOST_CRITICALCHANCE = 0
BOOST_CRITICALDAMAGE = 1
BOOST_LIFELEECHCHANCE = 2
BOOST_LIFELEECHAMOUNT = 3
BOOST_MANALEECHCHANCE = 4
BOOST_MANALEECHAMOUNT = 5
 

Attachments

Last edited by a moderator:
Thanks for sharing, I will take a look into it.
 
Additional LUA content
Code:
Functions:
getBoost(boostType)

Constants:
BOOST_CRITICALCHANCE = 0
BOOST_CRITICALDAMAGE = 1
BOOST_LIFELEECHCHANCE = 2
BOOST_LIFELEECHAMOUNT = 3
BOOST_MANALEECHCHANCE = 4
BOOST_MANALEECHAMOUNT = 5
where i put this codes?
 
ow right, have store system ?
I'll probably add my "Tfs 1.5 custom modifications V2" in some hours.

the list of features so far
Code:
Store Ingame -> sends item to store inbox
Critical / Life Leech / Mana Leech
Cast System
Equip Hotkey
Reward Chest
Enabled the Store Inbox
Global Depot
A fuck ton of modifications made by me

wait a few hours and you can use winmerge to take the features
 
I'll probably add my "Tfs 1.5 custom modifications V2" in some hours.

the list of features so far
Code:
Store Ingame -> sends item to store inbox
Critical / Life Leech / Mana Leech
Cast System
Equip Hotkey
Reward Chest
Enabled the Store Inbox
Global Depot
A fuck ton of modifications made by me

wait a few hours and you can use winmerge to take the features
very nice, u can tell me when post your tfs? Your cast system it this without bugs? same: debugs, crash, lag etc..

@Lundrial
 
1. Isn't 'normal_random(x, y)' x and y inclusive? If it is, then item with 100% chance really gives 100/101 chance [random 0,100].
2. Doesn't it give more mana/hp by leech then target have? Like 500 sorc hit by SD [for example he can hit 1000 dmg] Troll [max hp 50], it will give him 30% of 1000, not 30% of 50?
3. Doesn't it execute mana/hp leech twice when you hit player that got any event onStatsChange [origin_spell]? So you get X% chance to steal mana/hp twice by 1 spell hit? [check code from lines 4022-4031]

LESS IMPORTANT:
4. It should show message 'loses X mana by critical attack of Y' and 'loses Y hitpoints by critical attack of Y'
5. When you cast spell like UE/rune GFB, it should be critical for all targets or none. It looks like with your code it's random for each target. People that hunt with GFB reported it to me, because they 'feel' that critical attack occurs too often, not like on RL tibia.
 
Back
Top