https://otland.net/threads/saga-system-tfs-0-4-rev-3777.267127/

local monster = "Raditz saga"
local stor = 8000

function onCombat ( cid , target ) if ( isPlayer ( cid )) then if ( isMonster ( target ) and ( getCreatureName ( target ) == monster and ( getPlayerStorageValue ( cid , stor ) == 0 or 2 ))) then return false end
    elseif ( isMonster ( cid
     
                     )) then if ( isPlayer ( target ) and ( getPlayerStorageValue ( target , stor ) == 0 or 2 )) then return false end end
                 
   
   
    return true end


function onKill ( cid , target ) if isMonster ( target ) and getCreatureName ( target ) == monster and getPlayerStorageValue ( cid , stor ) == 1 then

        setPlayerStorageValue ( cid , stor , 2 ) end
         
   
   
    return true end

The entries are the properties of their respective owners.
Powered by Flask, SQLAlchemy, Pygments and Bootstrap.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.